Home Commands Examples Getting Started With Scripts Global Keywords
BracketDumpers BracketHandlers BracketValidators ResourceLocationBracketHandler

Advancement

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.

script.zs
import crafttweaker.api.advancement.Advancement;

Members

Getter
script.zs
// Advancement.criteria as Criterion<CriterionTriggerInstance>[string]
myAdvancement.criteria

Return Type: Criterion<CriterionTriggerInstance>[string]

Getter
script.zs
// Advancement.display as DisplayInfo
myAdvancement.display

Return Type: DisplayInfo

Getter
script.zs
// Advancement.isRoot as bool
myAdvancement.isRoot

Return Type: bool

Getter
script.zs
// Advancement.name as Component
myAdvancement.name

Return Type: Component

Getter
script.zs
// Advancement.parent as ResourceLocation
myAdvancement.parent

Return Type: ResourceLocation

Getter
script.zs
// Advancement.requirements as AdvancementRequirements
myAdvancement.requirements

Return Type: AdvancementRequirements

Getter
script.zs
// Advancement.rewards as AdvancementRewards
myAdvancement.rewards

Return Type: AdvancementRewards

Getter
script.zs
// Advancement.sendsTelemetryEvent as bool
myAdvancement.sendsTelemetryEvent

Return Type: bool