Interface RewardType<T extends AdvancementReward>
- Type Parameters:
T- The specific implementation type of the advancement reward.
public interface RewardType<T extends AdvancementReward>
Defines the registration metadata and serialization logic for a specific
AdvancementReward.-
Method Summary
-
Method Details
-
getCodec
Retrieves the codec responsible for converting this reward type to and from serialized data formats.- Returns:
- The
Codecinstance for reward implementationT.
-