public class CraftingCategoryExtension<T extends net.minecraft.item.crafting.ICraftingRecipe> extends java.lang.Object implements ICraftingCategoryExtension
Constructor and Description |
---|
CraftingCategoryExtension(T recipe) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.ResourceLocation |
getRegistryName()
Return the registry name of the recipe here.
|
net.minecraftforge.common.util.Size2i |
getSize() |
void |
setIngredients(IIngredients ingredients)
Gets all the recipe's ingredients by filling out an instance of
IIngredients . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
drawInfo, getTooltipStrings, handleClick
protected final T extends net.minecraft.item.crafting.ICraftingRecipe recipe
public CraftingCategoryExtension(T recipe)
public void setIngredients(IIngredients ingredients)
IRecipeCategoryExtension
IIngredients
.setIngredients
in interface IRecipeCategoryExtension
@Nullable public net.minecraft.util.ResourceLocation getRegistryName()
ICraftingCategoryExtension
getRegistryName
in interface ICraftingCategoryExtension
@Nullable public net.minecraftforge.common.util.Size2i getSize()
getSize
in interface ICraftingCategoryExtension