Class TrackedEntity

java.lang.Object
net.minecraft.world.TrackedEntity

public class TrackedEntity extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • level

      private final ServerWorld level
    • entity

      private final Entity entity
    • updateInterval

      private final int updateInterval
    • trackDelta

      private final boolean trackDelta
    • broadcast

      private final Consumer<IPacket<?>> broadcast
    • xp

      private long xp
    • yp

      private long yp
    • zp

      private long zp
    • yRotp

      private int yRotp
    • xRotp

      private int xRotp
    • yHeadRotp

      private int yHeadRotp
    • ap

      private Vector3d 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(ServerPlayerEntity p_219454_1_)
    • addPairing

      public void addPairing(ServerPlayerEntity p_219455_1_)
    • sendPairingData

      public void sendPairingData(Consumer<IPacket<?>> p_219452_1_)
    • sendDirtyEntityData

      private void sendDirtyEntityData()
    • updateSentPos

      private void updateSentPos()
    • sentPos

      public Vector3d sentPos()
    • broadcastAndSend

      private void broadcastAndSend(IPacket<?> p_219451_1_)