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.chatComponent as Component
myAdvancement.chatComponent

Return Type: Component

chatComponent() as Component
script.zs
// Advancement.chatComponent() as Component;
myAdvancement.chatComponent();

Return Type: Component

Getter
script.zs
// Advancement.children as Iterable<Advancement>
myAdvancement.children

Return Type: Iterable<Advancement>

children() as Iterable<Advancement>
script.zs
// Advancement.children() as Iterable<Advancement>;
myAdvancement.children();

Return Type: Iterable<Advancement>

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

Return Type: Criterion[string]

criteria() as Criterion[string]
script.zs
// Advancement.criteria() as Criterion[string];
myAdvancement.criteria();

Return Type: Criterion[string]

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

Return Type: DisplayInfo

display() as DisplayInfo
script.zs
// Advancement.display() as DisplayInfo;
myAdvancement.display();

Return Type: DisplayInfo

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

Return Type: ResourceLocation

id() as ResourceLocation
script.zs
// Advancement.id() as ResourceLocation;
myAdvancement.id();

Return Type: ResourceLocation

Getter
script.zs
// Advancement.maxCriteriaRequired as int?
myAdvancement.maxCriteriaRequired

Return Type: int?

maxCriteriaRequired() as int?
script.zs
// Advancement.maxCriteriaRequired() as int?;
myAdvancement.maxCriteriaRequired();

Return Type: int?

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

Return Type: Advancement

parent() as Advancement
script.zs
// Advancement.parent() as Advancement;
myAdvancement.parent();

Return Type: Advancement

Getter
script.zs
// Advancement.requirements as string[][]
myAdvancement.requirements

Return Type: string[][]

requirements() as string[][]
script.zs
// Advancement.requirements() as string[][];
myAdvancement.requirements();

Return Type: string[][]

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

Return Type: AdvancementRewards

rewards() as AdvancementRewards
script.zs
// Advancement.rewards() as AdvancementRewards;
myAdvancement.rewards();

Return Type: AdvancementRewards