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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.block.state.BlockState
    copyIngredient(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.ResourceLocation
    getResourceLocation(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, wait

    Methods 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:
      getIngredientType in interface mezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>
    • getDisplayName

      public String getDisplayName(@Nonnull net.minecraft.world.level.block.state.BlockState ingredient)
      Specified by:
      getDisplayName in interface mezz.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:
      getUniqueId in interface mezz.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:
      getResourceLocation in interface mezz.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:
      copyIngredient in interface mezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>
    • getErrorInfo

      public String getErrorInfo(@Nonnull net.minecraft.world.level.block.state.BlockState ingredient)
      Specified by:
      getErrorInfo in interface mezz.jei.api.ingredients.IIngredientHelper<net.minecraft.world.level.block.state.BlockState>