Interface IngredientRandomizer
- All Superinterfaces:
net.minecraft.world.level.storage.loot.LootContextUser
- All Known Implementing Classes:
FromArrayIngredientRandomizer,OutOfTagIngredientRandomizer
public interface IngredientRandomizer
extends net.minecraft.world.level.storage.loot.LootContextUser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<IngredientRandomizer> -
Method Summary
Methods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
-
Field Details
-
CODEC
-
-
Method Details
-
generate
net.minecraft.world.item.crafting.Ingredient generate(net.minecraft.world.level.storage.loot.LootContext context) -
getType
IngredientRandomizerType getType() -
createGsonAdapter
static ForgeRegistryObjectGSONAdapter<IngredientRandomizer,IngredientRandomizerType> createGsonAdapter()
-