ServerAdvancementManager

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.ServerAdvancementManager;

Extends

ServerAdvancementManager extends SimpleJsonResourceReloadListener.

Implements

Undocumented Interfaces

PreparableReloadListener

Operators

[](id as ResourceLocation) as Advancement
script.zs
// ServerAdvancementManager[id as ResourceLocation] as Advancement
myServerAdvancementManager[myResourceLocation]

Parameters:

Return Type: Advancement

Members

Getter
script.zs
// ServerAdvancementManager.allAdvancements as Collection<Advancement>
myServerAdvancementManager.allAdvancements

Return Type: Collection<Advancement>

getAdvancement(id as ResourceLocation) as Advancement
script.zs
// ServerAdvancementManager.getAdvancement(id as ResourceLocation) as Advancement;
myServerAdvancementManager.getAdvancement(myResourceLocation);

Parameters:

Return Type: Advancement