Importing the class

Link to importing-the-class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.entity.MobType;

Link to g-

Name: getArthropod

Return Type: MobType

ZenScript
Copy
// MobType.getArthropod() as MobType

MobType.getArthropod();

Link to g--1

Name: getIllager

Return Type: MobType

ZenScript
Copy
// MobType.getIllager() as MobType

MobType.getIllager();

Link to g--2

Name: getUndead

Return Type: MobType

ZenScript
Copy
// MobType.getUndead() as MobType

MobType.getUndead();

Link to g--3

Name: getUndefined

Return Type: MobType

ZenScript
Copy
// MobType.getUndefined() as MobType

MobType.getUndefined();

Link to g--4

Name: getWater

Return Type: MobType

ZenScript
Copy
// MobType.getWater() as MobType

MobType.getWater();