Interface IngredientRandomizer

All Superinterfaces:
net.minecraft.world.level.storage.loot.LootContextUser
All Known Implementing Classes:
FromArrayIngredientRandomizer, FromItemSetIngredientRandomizer

public interface IngredientRandomizer extends net.minecraft.world.level.storage.loot.LootContextUser
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<IngredientRandomizer>
     
    static final com.mojang.serialization.Codec<IngredientRandomizer>
    Use CODEC instead.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.crafting.Ingredient
    generate(net.minecraft.world.level.storage.loot.LootContext context)
     
     

    Methods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser

    getReferencedContextParams, validate
  • Field Details

  • Method Details

    • generate

      net.minecraft.world.item.crafting.Ingredient generate(net.minecraft.world.level.storage.loot.LootContext context)
    • getType