Interface IRewardGenerator
- All Superinterfaces:
net.minecraft.world.level.storage.loot.LootContextUser
- All Known Subinterfaces:
IContextEntityRewardGenerator
- All Known Implementing Classes:
CombinedRewardGenerator,DirectRewardGenerator,LootTableRewardGenerator
public interface IRewardGenerator
extends net.minecraft.world.level.storage.loot.LootContextUser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<IRewardGenerator> static final com.mojang.serialization.Codec<IRewardGenerator> UseCODECinstead. -
Method Summary
Methods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
-
Field Details
-
TYPED_CODEC
UseCODECinstead. -
CODEC
-
-
Method Details
-
generate
-
getType
RewardGeneratorType getType()
-