Class ContextEntityRewardGenerator
java.lang.Object
com.petrolpark.data.reward.generator.ContextEntityRewardGenerator
- All Implemented Interfaces:
IRewardGenerator,net.minecraft.world.level.storage.loot.LootContextUser
- Direct Known Subclasses:
LootTableRewardGenerator
-
Field Summary
FieldsFields inherited from interface com.petrolpark.data.reward.generator.IRewardGenerator
CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<net.minecraft.world.level.storage.loot.parameters.LootContextParam<?>>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.petrolpark.data.reward.generator.IRewardGenerator
generate, getTypeMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
validate
-
Field Details
-
target
-
-
Constructor Details
-
ContextEntityRewardGenerator
-
-
Method Details
-
getReferencedContextParams
public Set<net.minecraft.world.level.storage.loot.parameters.LootContextParam<?>> getReferencedContextParams()- Specified by:
getReferencedContextParamsin interfacenet.minecraft.world.level.storage.loot.LootContextUser
-