net.minecraft.server.level

public class ServerEntity

aqt
net.minecraft.server.level.ServerEntity
net.minecraft.class_3231
net.minecraft.server.network.EntityTrackerEntry
net.minecraft.src.C_11_
net.minecraft.server.level.EntityTrackerEntry

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_14041
LOGGER
f_8508_
private static final int
c
TOLERANCE_LEVEL_ROTATION
field_29767
field_29767
f_143241_
private static final double
d
TOLERANCE_LEVEL_POSITION
field_44988
field_44988
f_290999_
public static final int
a
FORCED_POS_UPDATE_PERIOD
field_44987
field_44987
f_291116_
private static final int
e
FORCED_TELEPORT_PERIOD
field_44989
field_44989
f_291733_
private final ServerLevel
f
level
field_18258
world
f_8509_
private final Entity
g
entity
field_14049
entity
f_8510_
private final int
h
updateInterval
field_14037
tickInterval
f_8511_
private final boolean
i
trackDelta
field_14039
alwaysUpdateVelocity
f_8512_
private final Consumer<Packet<?>>
j
broadcast
field_18259
receiver
f_8513_
private final VecDeltaCodec
k
positionCodec
field_39019
trackedPos
f_214995_
private int
l
lastSentYRot
field_14060
lastYaw
f_336689_
private int
m
lastSentXRot
field_14047
lastPitch
f_337451_
private int
n
lastSentYHeadRot
field_14059
lastHeadYaw
f_337287_
private Vec3
o
lastSentMovement
field_18278
velocity
f_337046_
private int
p
tickCount
field_14040
trackingTick
f_8521_
private int
q
teleportDelay
field_14043
updatesWithoutVehicle
f_8522_
private List<Entity>
r
lastPassengers
field_14045
lastPassengers
f_8523_
private boolean
s
wasRiding
field_14051
hadVehicle
f_8524_
private boolean
t
wasOnGround
field_14036
lastOnGround
f_8525_
private List<SynchedEntityData$DataValue<?>>
u
trackedDataValues
field_41697
changedEntries
f_263120_

Constructor summary

ModifierConstructor
public (ServerLevel world, Entity entity, int tickInterval, boolean alwaysUpdateVelocity, Consumer<Packet<?>> receiver)

Method summary

Modifier and TypeMethod
public void
a()
sendChanges()
method_18756()
tick()
m_8533_()
private static Stream<Entity>
a(List<bsr> arg0, List<bsr> arg1)
removedPassengers(List<Entity> arg0, List<Entity> arg1)
method_49753(List<class_1297> arg0, List<class_1297> arg1)
streamChangedPassengers(List<Entity> passengers, List<Entity> lastPassengers)
m_277180_(List<C_507_> p_277592_, List<C_507_> p_277658_)
public void
a(aqv arg0)
removePairing(ServerPlayer arg0)
method_14302(class_3222 arg0)
stopTracking(ServerPlayerEntity player)
m_8534_(C_13_ arg0)
public void
b(aqv arg0)
addPairing(ServerPlayer arg0)
method_18760(class_3222 arg0)
startTracking(ServerPlayerEntity player)
m_8541_(C_13_ arg0)
public void
a(aqv arg0, Consumer<zg<abu>> arg1)
sendPairingData(ServerPlayer arg0, Consumer<Packet<ClientGamePacketListener>> arg1)
method_18757(class_3222 arg0, Consumer<class_2596<class_2602>> arg1)
sendPackets(ServerPlayerEntity player, Consumer<Packet<ClientPlayPacketListener>> sender)
m_289200_(C_13_ p_289563_, Consumer<C_5028_<C_5031_>> arg1)
public Vec3
b()
getPositionBase()
method_60942()
getPos()
m_339198_()
public Vec3
c()
getLastSentMovement()
method_60943()
getVelocity()
m_339745_()
public float
d()
getLastSentXRot()
method_60944()
getPitch()
m_340051_()
public float
e()
getLastSentYRot()
method_60945()
getYaw()
m_339137_()
public float
f()
getLastSentYHeadRot()
method_60946()
getHeadYaw()
m_339396_()
private void
g()
sendDirtyEntityData()
method_14306()
syncEntityData()
m_8543_()
private void
a(zg<?> arg0)
broadcastAndSend(Packet<?> arg0)
method_18758(class_2596<?> arg0)
sendSyncPacket(Packet<?> packet)
m_8538_(C_5028_<?> arg0)