net.minecraft.server.level

public class ServerEntity

asf
net.minecraft.server.level.ServerEntity
net.minecraft.class_3231
net.minecraft.server.network.EntityTrackerEntry
net.minecraft.server.level.EntityTrackerEntry

Field summary

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

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()
private void
a(csl arg0, byte arg1, byte arg2, boolean arg3)
handleMinecartPosRot(NewMinecartBehavior arg0, byte arg1, byte arg2, boolean arg3)
method_61268(class_9879 arg0, byte arg1, byte arg2, boolean arg3)
tickExperimentalMinecart(ExperimentalMinecartController controller, byte yaw, byte pitch, boolean changedAngles)
private static Stream<Entity>
a(List<bvk> arg0, List<bvk> 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)
public void
a(asi arg0)
removePairing(ServerPlayer arg0)
method_14302(class_3222 arg0)
stopTracking(ServerPlayerEntity player)
public void
b(asi arg0)
addPairing(ServerPlayer arg0)
method_18760(class_3222 arg0)
startTracking(ServerPlayerEntity player)
public void
a(asi arg0, Consumer<aac<acr>> 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)
public Vec3
b()
getPositionBase()
method_60942()
getPos()
public Vec3
c()
getLastSentMovement()
method_60943()
getVelocity()
public float
d()
getLastSentXRot()
method_60944()
getPitch()
public float
e()
getLastSentYRot()
method_60945()
getYaw()
public float
f()
getLastSentYHeadRot()
method_60946()
getHeadYaw()
private void
g()
sendDirtyEntityData()
method_14306()
syncEntityData()
private void
a(aac<?> arg0)
broadcastAndSend(Packet<?> arg0)
method_18758(class_2596<?> arg0)
sendSyncPacket(Packet<?> packet)