Class EntityWrapper

java.lang.Object
com.plotsquared.bukkit.entity.EntityWrapper
Direct Known Subclasses:
ReplicatingEntityWrapper, TeleportEntityWrapper

public abstract class EntityWrapper extends Object
  • Field Details

    • yaw

      protected final float yaw
    • pitch

      protected final float pitch
    • x

      public double x
    • y

      public double y
    • z

      public double z
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • spawn

      public abstract Entity spawn(World world, int xOffset, int zOffset)
    • saveEntity

      public abstract void saveEntity()
    • getYaw

      public float getYaw()
    • getPitch

      public float getPitch()
    • getEntity

      public Entity getEntity()
    • getType

      public EntityType getType()
    • getX

      public double getX()
    • getY

      public double getY()
    • getZ

      public double getZ()