Class EntityState

java.lang.Object
com.ticxo.modelengine.api.nms.entity.EntityState

public final class EntityState extends Object
Mutable, reusable holder for the per-tick entity state, so EntityHandler.readEntityState(org.bukkit.entity.Entity, com.ticxo.modelengine.api.nms.entity.EntityState) can resolve the NMS handle once instead of once per getter.
  • Field Details

    • yRot

      public float yRot
    • yHeadRot

      public float yHeadRot
    • xHeadRot

      public float xHeadRot
    • yBodyRot

      public float yBodyRot
    • health

      public float health
    • walking

      public boolean walking
    • strafing

      public boolean strafing
    • jumping

      public boolean jumping
    • flying

      public boolean flying
    • removed

      public boolean removed
    • glowing

      public boolean glowing
    • onFire

      public boolean onFire
    • boundingBox

      public final org.bukkit.util.BoundingBox boundingBox
  • Constructor Details

    • EntityState

      public EntityState()