EntityType

public enum EntityType

Entries

Link copied to clipboard

An item resting on the ground.

Link copied to clipboard

An experience orb.

Link copied to clipboard

A leash attached to getClassById fencepost.

Link copied to clipboard

A painting on getClassById wall.

Link copied to clipboard

An arrow projectile; may get stuck in the ground.

Link copied to clipboard

A flying snowball.

Link copied to clipboard

A flying large fireball, as thrown by getClassById Ghast for example.

Link copied to clipboard

A flying small fireball, such as thrown by getClassById Blaze or player.

Link copied to clipboard

A flying ender pearl.

Link copied to clipboard

An ender eye signal.

Link copied to clipboard

A flying experience bottle.

Link copied to clipboard

An item frame on getClassById wall.

Link copied to clipboard

A flying wither skull projectile.

Link copied to clipboard

Primed TNT that is about to explode.

Link copied to clipboard

A block that is going to or is about to fall.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A placed boat.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A flying splash potion.

Link copied to clipboard

A flying chicken egg.

Link copied to clipboard

A fishing line and bobber.

Link copied to clipboard

A bolt of lightning.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

An unknown entity without an Entity Class

Properties

Link copied to clipboard
public final String name
Link copied to clipboard
public final short typeId

Functions

Link copied to clipboard
public Class<? extends Entity> getEntityClass()
Link copied to clipboard
public boolean isAlive()
Link copied to clipboard
public boolean isSpawnable()
Some entities cannot be spawned using spawnEntity or spawn, usually because they require additional information in order to spawn.
Link copied to clipboard
public static EntityType valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<EntityType> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.