Package net.minecraft.world
Class TrackedEntity
java.lang.Object
net.minecraft.world.TrackedEntity
-
Field Summary
Modifier and TypeFieldDescriptionprivate Vector3d
private final Entity
private final ServerWorld
private static final org.apache.logging.log4j.Logger
private int
private int
private final boolean
private final int
private boolean
private boolean
private long
private int
private int
private long
private int
private long
-
Constructor Summary
ConstructorDescriptionTrackedEntity
(ServerWorld p_i50704_1_, Entity p_i50704_2_, int p_i50704_3_, boolean p_i50704_4_, Consumer<IPacket<?>> p_i50704_5_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPairing
(ServerPlayerEntity p_219455_1_) private void
broadcastAndSend
(IPacket<?> p_219451_1_) void
removePairing
(ServerPlayerEntity p_219454_1_) void
private void
void
sendPairingData
(Consumer<IPacket<?>> p_219452_1_) sentPos()
private void
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
level
-
entity
-
updateInterval
private final int updateInterval -
trackDelta
private final boolean trackDelta -
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
-
tickCount
private int tickCount -
teleportDelay
private int teleportDelay -
lastPassengers
-
wasRiding
private boolean wasRiding -
wasOnGround
private boolean wasOnGround
-
-
Constructor Details
-
TrackedEntity
public TrackedEntity(ServerWorld p_i50704_1_, Entity p_i50704_2_, int p_i50704_3_, boolean p_i50704_4_, Consumer<IPacket<?>> p_i50704_5_)
-
-
Method Details
-
sendChanges
public void sendChanges() -
removePairing
-
addPairing
-
sendPairingData
-
sendDirtyEntityData
private void sendDirtyEntityData() -
updateSentPos
private void updateSentPos() -
sentPos
-
broadcastAndSend
-