Home Commands Examples Getting Started With Scripts Global Keywords

HumanoidArm

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.entity.HumanoidArm;

Implements

HumanoidArm implements the following interfaces:

StringRepresentable

Undocumented Interfaces

OptionEnum,Comparable<Enum>

Enum Constants

HumanoidArm is an enum with 2 constants. They are accessible like so:

script.zs
// HumanoidArm.LEFT
<constant:minecraft:entity/humanoidarm:left>
// HumanoidArm.RIGHT
<constant:minecraft:entity/humanoidarm:right>

Members

key() as string
script.zs
// HumanoidArm.key() as string;
<constant:minecraft:entity/humanoidarm:left>.key();

Return Type: string

Getter
script.zs
// HumanoidArm.opposite as HumanoidArm
<constant:minecraft:entity/humanoidarm:left>.opposite

Return Type: HumanoidArm

opposite() as HumanoidArm
script.zs
// HumanoidArm.opposite() as HumanoidArm;
<constant:minecraft:entity/humanoidarm:left>.opposite();

Return Type: HumanoidArm

Getter
Gets the serialized name.
script.zs
// HumanoidArm.serializedName as string
<constant:minecraft:entity/humanoidarm:left>.serializedName

Return Type: string

serializedName() as string
Gets the serialized name.

Returns: the serialized name.

script.zs
// HumanoidArm.serializedName() as string;
<constant:minecraft:entity/humanoidarm:left>.serializedName();

Return Type: string