public interface ICraftingCategoryExtension extends IRecipeCategoryExtension
IRecipeCategoryExtension
to have your recipe extension work as part of the
VanillaRecipeCategoryUid.CRAFTING
recipe category as a shapeless recipe.
For shaped recipes, override getSize()
.
To override the category's behavior and set the recipe layout yourself, use ICustomCraftingCategoryExtension
.Modifier and Type | Method and Description |
---|---|
default net.minecraft.util.ResourceLocation |
getRegistryName()
Return the registry name of the recipe here.
|
default net.minecraftforge.common.util.Size2i |
getSize() |
drawInfo, getTooltipStrings, handleClick, setIngredients
@Nullable default net.minecraft.util.ResourceLocation getRegistryName()
@Nullable default net.minecraftforge.common.util.Size2i getSize()