Class CreateRecipeCategory<T extends net.minecraft.world.item.crafting.Recipe<?>>
java.lang.Object
com.simibubi.create.compat.jei.category.CreateRecipeCategory<T>
- All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<T>
- Direct Known Subclasses:
BasinCategory,BlockCuttingCategory,CrushingCategory,DeployingCategory,ItemApplicationCategory,ItemDrainCategory,MechanicalCraftingCategory,MillingCategory,MysteriousItemConversionCategory,PolishingCategory,PressingCategory,ProcessingViaFanCategory,SawingCategory,SequencedAssemblyCategory,SpoutCategory
@ParametersAreNonnullByDefault
public abstract class CreateRecipeCategory<T extends net.minecraft.world.item.crafting.Recipe<?>>
extends Object
implements mezz.jei.api.recipe.category.IRecipeCategory<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCreateRecipeCategory.Factory<T extends net.minecraft.world.item.crafting.Recipe<?>>static final recordCreateRecipeCategory.Info<T extends net.minecraft.world.item.crafting.Recipe<?>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final mezz.jei.api.gui.drawable.IDrawableprotected final mezz.jei.api.gui.drawable.IDrawableprotected final net.minecraft.network.chat.Componentprotected final mezz.jei.api.recipe.RecipeType<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic mezz.jei.api.gui.ingredient.IRecipeSlotRichTooltipCallbackstatic mezz.jei.api.gui.ingredient.IRecipeSlotRichTooltipCallbackaddFluidTooltip(int mbAmount) static mezz.jei.api.gui.ingredient.IRecipeSlotRichTooltipCallbackaddStochasticTooltip(ProcessingOutput output) protected static mezz.jei.api.gui.drawable.IDrawableasDrawable(AllGuiTextures texture) mezz.jei.api.gui.drawable.IDrawablemezz.jei.api.gui.drawable.IDrawablegetIcon()@NotNull mezz.jei.api.recipe.RecipeType<T> static mezz.jei.api.gui.drawable.IDrawablestatic mezz.jei.api.gui.drawable.IDrawablegetRenderedSlot(float chance) static mezz.jei.api.gui.drawable.IDrawablegetRenderedSlot(ProcessingOutput output) static net.minecraft.world.item.ItemStackgetResultItem(net.minecraft.world.item.crafting.Recipe<?> recipe) net.minecraft.network.chat.ComponentgetTitle()voidregisterCatalysts(mezz.jei.api.registration.IRecipeCatalystRegistration registration) voidregisterRecipes(mezz.jei.api.registration.IRecipeRegistration registration) static List<net.neoforged.neoforge.fluids.FluidStack> withImprovedVisibility(List<net.neoforged.neoforge.fluids.FluidStack> stacks) static net.neoforged.neoforge.fluids.FluidStackwithImprovedVisibility(net.neoforged.neoforge.fluids.FluidStack stack) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mezz.jei.api.recipe.category.IRecipeCategory
createRecipeExtras, createRecipeExtras, draw, getCodec, getHeight, getRegistryName, getTooltip, getTooltipStrings, getWidth, handleInput, isHandled, needsRecipeBorder, onDisplayedIngredientsUpdate, setRecipe
-
Field Details
-
type
protected final mezz.jei.api.recipe.RecipeType<T extends net.minecraft.world.item.crafting.Recipe<?>> type -
title
protected final net.minecraft.network.chat.Component title -
background
protected final mezz.jei.api.gui.drawable.IDrawable background -
icon
protected final mezz.jei.api.gui.drawable.IDrawable icon
-
-
Constructor Details
-
CreateRecipeCategory
-
-
Method Details
-
getRecipeType
- Specified by:
getRecipeTypein interfacemezz.jei.api.recipe.category.IRecipeCategory<T extends net.minecraft.world.item.crafting.Recipe<?>>
-
getTitle
public net.minecraft.network.chat.Component getTitle()- Specified by:
getTitlein interfacemezz.jei.api.recipe.category.IRecipeCategory<T extends net.minecraft.world.item.crafting.Recipe<?>>
-
getBackground
public mezz.jei.api.gui.drawable.IDrawable getBackground()- Specified by:
getBackgroundin interfacemezz.jei.api.recipe.category.IRecipeCategory<T extends net.minecraft.world.item.crafting.Recipe<?>>
-
getIcon
public mezz.jei.api.gui.drawable.IDrawable getIcon()- Specified by:
getIconin interfacemezz.jei.api.recipe.category.IRecipeCategory<T extends net.minecraft.world.item.crafting.Recipe<?>>
-
registerRecipes
public void registerRecipes(mezz.jei.api.registration.IRecipeRegistration registration) -
registerCatalysts
public void registerCatalysts(mezz.jei.api.registration.IRecipeCatalystRegistration registration) -
getRenderedSlot
public static mezz.jei.api.gui.drawable.IDrawable getRenderedSlot() -
getRenderedSlot
-
getRenderedSlot
public static mezz.jei.api.gui.drawable.IDrawable getRenderedSlot(float chance) -
getResultItem
public static net.minecraft.world.item.ItemStack getResultItem(net.minecraft.world.item.crafting.Recipe<?> recipe) -
addStochasticTooltip
public static mezz.jei.api.gui.ingredient.IRecipeSlotRichTooltipCallback addStochasticTooltip(ProcessingOutput output) -
withImprovedVisibility
-
withImprovedVisibility
public static net.neoforged.neoforge.fluids.FluidStack withImprovedVisibility(net.neoforged.neoforge.fluids.FluidStack stack) -
addFluidTooltip
public static mezz.jei.api.gui.ingredient.IRecipeSlotRichTooltipCallback addFluidTooltip() -
addFluidTooltip
public static mezz.jei.api.gui.ingredient.IRecipeSlotRichTooltipCallback addFluidTooltip(int mbAmount) -
asDrawable
-