java.lang.Object
com.github.retrooper.packetevents.protocol.world.positionsource.PositionSource
com.github.retrooper.packetevents.protocol.world.positionsource.builtin.EntityPositionSource

public class EntityPositionSource extends PositionSource
  • Constructor Details

    • EntityPositionSource

      public EntityPositionSource(int entityId)
    • EntityPositionSource

      public EntityPositionSource(int entityId, float offsetY)
  • Method Details

    • read

      public static EntityPositionSource read(PacketWrapper<?> wrapper)
    • write

      public static void write(PacketWrapper<?> wrapper, EntityPositionSource source)
    • getEntityId

      public int getEntityId()
    • setEntityId

      public void setEntityId(int entityId)
    • getOffsetY

      public float getOffsetY()
    • setOffsetY

      public void setOffsetY(float offsetY)