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

MobType

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

Members

static getArthropod() as MobType
script.zs
// MobType.getArthropod() as MobType;
MobType.getArthropod();

Return Type: MobType

static getIllager() as MobType
script.zs
// MobType.getIllager() as MobType;
MobType.getIllager();

Return Type: MobType

static getUndead() as MobType
script.zs
// MobType.getUndead() as MobType;
MobType.getUndead();

Return Type: MobType

static getUndefined() as MobType
script.zs
// MobType.getUndefined() as MobType;
MobType.getUndefined();

Return Type: MobType

static getWater() as MobType
script.zs
// MobType.getWater() as MobType;
MobType.getWater();

Return Type: MobType