Home Commands Examples Getting Started With Scripts Global Keywords

Return Type: CriterionProgress?

script.zs
AdvancementProgress.getCriterion(criterionName as string) as CriterionProgress?

Return Type: string

script.zs
// ResourceLocation.toString() as string
myResourceLocation.toString();

Return Type: string

script.zs
// ResourceLocation.toString() as string
myResourceLocation.toString();

Return Type: string

script.zs
// ResourceLocation.toString() as string
myResourceLocation.toString();