Interface IWrappedReward<REWARD extends IAbstractReward<?>>
- All Superinterfaces:
IAbstractReward<IReward.Type>,IReward,net.minecraft.world.level.storage.loot.LootContextUser
- All Known Implementing Classes:
ContextEntityReward,ContextTeamReward
@ParametersAreNonnullByDefault
public interface IWrappedReward<REWARD extends IAbstractReward<?>>
extends IReward
-
Nested Class Summary
Nested classes/interfaces inherited from interface petrolpark.mc.library.core.data.reward.IReward
IReward.Type -
Field Summary
Fields inherited from interface petrolpark.mc.library.core.data.reward.IReward
CODEC, DIRECT_CODEC, SET_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 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
-