Class ServerEntity

java.lang.Object
net.minecraft.server.level.ServerEntity

public class ServerEntity extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • TOLERANCE_LEVEL_ROTATION

      private static final int TOLERANCE_LEVEL_ROTATION
      See Also:
    • level

      private final ServerLevel level
    • entity

      private final Entity entity
    • updateInterval

      private final int updateInterval
    • trackDelta

      private final boolean trackDelta
    • broadcast

      private final Consumer<Packet<?>> broadcast
    • positionCodec

      private final VecDeltaCodec positionCodec
    • yRotp

      private int yRotp
    • xRotp

      private int xRotp
    • yHeadRotp

      private int yHeadRotp
    • ap

      private Vec3 ap
    • tickCount

      private int tickCount
    • teleportDelay

      private int teleportDelay
    • lastPassengers

      private List<Entity> lastPassengers
    • wasRiding

      private boolean wasRiding
    • wasOnGround

      private boolean wasOnGround
  • Constructor Details

  • Method Details

    • sendChanges

      public void sendChanges()
    • removePairing

      public void removePairing(ServerPlayer p_8535_)
    • addPairing

      public void addPairing(ServerPlayer p_8542_)
    • sendPairingData

      public void sendPairingData(Consumer<Packet<?>> p_8537_)
    • sendDirtyEntityData

      private void sendDirtyEntityData()
    • broadcastAndSend

      private void broadcastAndSend(Packet<?> p_8539_)