Package net.minecraft.server.level
Class ServerEntity
java.lang.Object
net.minecraft.server.level.ServerEntity
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate Vec3private final Entitystatic final intprivate static final intprivate final ServerLevelprivate static final org.slf4j.Loggerprivate final VecDeltaCodecprivate intprivate intprivate static final doubleprivate static final intprivate final booleanprivate List<SynchedEntityData.DataValue<?>>private final intprivate booleanprivate booleanprivate intprivate intprivate int
- 
Constructor SummaryConstructorsConstructorDescriptionServerEntity(ServerLevel p_8528_, Entity p_8529_, int p_8530_, boolean p_8531_, Consumer<Packet<?>> p_8532_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddPairing(ServerPlayer p_8542_) private voidbroadcastAndSend(Packet<?> p_8539_) removedPassengers(List<Entity> p_277592_, List<Entity> p_277658_) voidremovePairing(ServerPlayer p_8535_) voidprivate voidvoidsendPairingData(ServerPlayer p_289562_, Consumer<Packet<ClientGamePacketListener>> p_289563_) 
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
TOLERANCE_LEVEL_ROTATIONprivate static final int TOLERANCE_LEVEL_ROTATION- See Also:
 
- 
TOLERANCE_LEVEL_POSITIONprivate static final double TOLERANCE_LEVEL_POSITION- See Also:
 
- 
FORCED_POS_UPDATE_PERIODpublic static final int FORCED_POS_UPDATE_PERIOD- See Also:
 
- 
FORCED_TELEPORT_PERIODprivate static final int FORCED_TELEPORT_PERIOD- See Also:
 
- 
level
- 
entity
- 
updateIntervalprivate final int updateInterval
- 
trackDeltaprivate final boolean trackDelta
- 
broadcast
- 
positionCodec
- 
yRotpprivate int yRotp
- 
xRotpprivate int xRotp
- 
yHeadRotpprivate int yHeadRotp
- 
ap
- 
tickCountprivate int tickCount
- 
teleportDelayprivate int teleportDelay
- 
lastPassengers
- 
wasRidingprivate boolean wasRiding
- 
wasOnGroundprivate boolean wasOnGround
- 
trackedDataValues
 
- 
- 
Constructor Details- 
ServerEntitypublic ServerEntity(ServerLevel p_8528_, Entity p_8529_, int p_8530_, boolean p_8531_, Consumer<Packet<?>> p_8532_) 
 
- 
- 
Method Details- 
sendChangespublic void sendChanges()
- 
removedPassengers
- 
removePairing
- 
addPairing
- 
sendPairingDatapublic void sendPairingData(ServerPlayer p_289562_, Consumer<Packet<ClientGamePacketListener>> p_289563_) 
- 
sendDirtyEntityDataprivate void sendDirtyEntityData()
- 
broadcastAndSend
 
-