public class Entity Copied! Wraps the fields confirmed common to every entity type in the Anvil entity format
See LivingEntity for the living entity tier, and use
raw() for anything type specific
Known subclasses LivingEntity Fields Constructors Methods short air () double fallDistance () short fire () String id () boolean invulnerable () double[] motion () boolean onGround () int portalCooldown () double[] pos () NbtCompound raw () double[] readDoubleTriplet (String) float[] readFloatPair (String) float[] rotation () [yaw, pitch] void setAir (short) void setFallDistance (double) void setFire (short) void setInvulnerable (boolean) void setMotion (double, double, double) void setOnGround (boolean) void setPortalCooldown (int) void setPos (double, double, double) void setRotation (float, float) void setUuid (UUID) UUID uuid () void writeDoubleTriplet (String, double, double, double) void writeFloatPair (String, float, float) public double fallDistance ()public boolean invulnerable ()public boolean onGround ()public int portalCooldown ()protected double [] readDoubleTriplet (String key )Parameters keyString Returns double []
protected float [] readFloatPair (String key )Parameters keyString Returns float []
public float [] rotation ()public void setAir (short value )public void setFallDistance (double value )public void setFire (short value )public void setInvulnerable (boolean value )public void setMotion (double x , double y , double z )Parameters xdouble ydouble zdouble
public void setOnGround (boolean value )public void setPortalCooldown (int value )public void setPos (double x , double y , double z )Parameters xdouble ydouble zdouble
public void setRotation (float yaw , float pitch )Parameters yawfloat pitchfloat
public void setUuid (UUID uuid )protected void writeDoubleTriplet (String key , double x , double y , double z )Parameters keyString xdouble ydouble zdouble
protected void writeFloatPair (String key , float a , float b )Parameters keyString afloat bfloat
Used by Methods of other types that accept or return Entity.