AdvancementRewards
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
grant(player as ServerPlayer)
Grants the advancement rewards to the player.
Parameters:
Getter
Gets the recipes that are unlocked when the advancement is completed.
Return Type:
List<ResourceLocation>