NbtContents

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.text.content.type.NbtContents;

Implements

NbtContents implements the following interfaces:

ComponentContents

Members

static empty() as ComponentContents
script.zs
// NbtContents.empty() as ComponentContents;
NbtContents.empty();

Return Type: ComponentContents

Getter
script.zs
// NbtContents.isInterpreting as bool
myNbtContents.isInterpreting

Return Type: bool

isInterpreting() as bool
script.zs
// NbtContents.isInterpreting() as bool;
myNbtContents.isInterpreting();

Return Type: bool

Getter
script.zs
// NbtContents.nbtPath as string
myNbtContents.nbtPath

Return Type: string

nbtPath() as string
script.zs
// NbtContents.nbtPath() as string;
myNbtContents.nbtPath();

Return Type: string

Getter
script.zs
// NbtContents.separator as Component
myNbtContents.separator

Return Type: Component

separator() as Component
script.zs
// NbtContents.separator() as Component;
myNbtContents.separator();

Return Type: Component