Interface IngredientModifier

All Superinterfaces:
net.minecraft.world.level.storage.loot.LootContextUser
All Known Implementing Classes:
ContaminatedIngredientModifier, PassIngredientModifier

public interface IngredientModifier extends net.minecraft.world.level.storage.loot.LootContextUser
  • Field Details

  • Method Details

    • test

      boolean test(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level)
    • modifyExamples

      void modifyExamples(List<net.minecraft.world.item.ItemStack> exampleStacks, net.minecraft.world.level.Level level)
    • modifyCounterExamples

      void modifyCounterExamples(List<net.minecraft.world.item.ItemStack> counterExampleStacks, net.minecraft.world.level.Level level)
    • addToDescription

      void addToDescription(List<net.minecraft.network.chat.Component> description, net.minecraft.world.level.Level level)
    • getType

    • createGsonAdapter