PlayerAdvancements
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
award(advancement as Advancement, criteria as string) as bool
Parameters:
advancement: Advancement
Type: Advancement
criteria: string
Type: string
Return Type:
bool
flushDirty(player as ServerPlayer)
Parameters:
player: ServerPlayer
Type: ServerPlayer
getOrStartProgress(advancement as Advancement) as AdvancementProgress
Parameters:
advancement: Advancement
Type: Advancement
Return Type:
AdvancementProgress
revoke(advancement as Advancement, criteria as string) as bool
Parameters:
advancement: Advancement
Type: Advancement
criteria: string
Type: string
Return Type:
bool