Interface IWrappedEntityReward<REWARD extends IAbstractReward<?>>
- All Superinterfaces:
IAbstractReward<IEntityReward.Type>,IEntityReward,net.minecraft.world.level.storage.loot.LootContextUser
- All Known Implementing Classes:
AllTeamsPlayerReward
@ParametersAreNonnullByDefault
public interface IWrappedEntityReward<REWARD extends IAbstractReward<?>>
extends IEntityReward
-
Nested Class Summary
Nested classes/interfaces inherited from interface petrolpark.mc.library.core.data.reward.entity.IEntityReward
IEntityReward.Type -
Field Summary
Fields inherited from interface petrolpark.mc.library.core.data.reward.entity.IEntityReward
CODEC, TYPED_CODEC -
Method Summary
Modifier and TypeMethodDescriptiondefault WrappedRewardInfoinfo()Deprecated.reward()default voidvalidate(net.minecraft.world.level.storage.loot.ValidationContext context) wrapInfo(IRewardInfo info) Methods inherited from interface petrolpark.mc.library.core.data.reward.IAbstractReward
getTypeMethods inherited from interface petrolpark.mc.library.core.data.reward.entity.IEntityReward
rewardMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams
-
Method Details
-
reward
REWARD reward() -
wrapInfo
-
info
Deprecated.- Specified by:
infoin interfaceIAbstractReward<REWARD extends IAbstractReward<?>>
-
validate
default void validate(net.minecraft.world.level.storage.loot.ValidationContext context) - Specified by:
validatein interfacenet.minecraft.world.level.storage.loot.LootContextUser
-