Class BlockStateIngredientType.Helper
java.lang.Object
com.petrolpark.compat.jei.ingredient.BlockStateIngredientType.Helper
- All Implemented Interfaces:
mezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>
- Enclosing class:
BlockStateIngredientType
public static class BlockStateIngredientType.Helper
extends Object
implements mezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.state.BlockStatecopyIngredient(net.minecraft.world.level.block.state.BlockState ingredient) getDisplayName(net.minecraft.world.level.block.state.BlockState ingredient) getErrorInfo(net.minecraft.world.level.block.state.BlockState ingredient) mezz.jei.api.ingredients.IIngredientType<net.minecraft.world.level.block.state.BlockState> net.minecraft.resources.ResourceLocationgetResourceLocation(net.minecraft.world.level.block.state.BlockState ingredient) getUniqueId(net.minecraft.world.level.block.state.BlockState ingredient, mezz.jei.api.ingredients.subtypes.UidContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mezz.jei.api.ingredients.IIngredientHelper
copyWithAmount, getAmount, getCheatItemStack, getColors, getDisplayModId, getGroupingUid, getGroupingUid, getTagEquivalent, getTagKeyEquivalent, getTagStream, getUid, getUid, getWildcardId, hasSubtypes, isHiddenFromRecipeViewersByTags, isHiddenFromRecipeViewersByTags, isIngredientOnServer, isValidIngredient, normalizeIngredient
-
Constructor Details
-
Helper
public Helper()
-
-
Method Details
-
getIngredientType
public mezz.jei.api.ingredients.IIngredientType<net.minecraft.world.level.block.state.BlockState> getIngredientType()- Specified by:
getIngredientTypein interfacemezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>
-
getDisplayName
- Specified by:
getDisplayNamein interfacemezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>
-
getUniqueId
public String getUniqueId(@Nonnull net.minecraft.world.level.block.state.BlockState ingredient, @Nonnull mezz.jei.api.ingredients.subtypes.UidContext context) - Specified by:
getUniqueIdin interfacemezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>
-
getResourceLocation
public net.minecraft.resources.ResourceLocation getResourceLocation(@Nonnull net.minecraft.world.level.block.state.BlockState ingredient) - Specified by:
getResourceLocationin interfacemezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>
-
copyIngredient
public net.minecraft.world.level.block.state.BlockState copyIngredient(@Nonnull net.minecraft.world.level.block.state.BlockState ingredient) - Specified by:
copyIngredientin interfacemezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>
-
getErrorInfo
- Specified by:
getErrorInfoin interfacemezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>
-