Package net.minecraft.server.level
Class ChunkMap.TrackedEntity
java.lang.Object
net.minecraft.server.level.ChunkMap.TrackedEntity
- Enclosing class:
- ChunkMap
-
Field Summary
Modifier and TypeFieldDescription(package private) Entity
(package private) SectionPos
private int
private Set<ServerPlayerConnection>
(package private) ServerEntity
-
Constructor Summary
ConstructorDescriptionTrackedEntity(Entity p_140478_, int p_140479_, int p_140480_, boolean p_140481_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
broadcastAndSend(Packet<?> p_140500_)
void
boolean
private int
int
hashCode()
void
removePlayer(ServerPlayer p_140486_)
private int
scaledRange(int p_140484_)
void
updatePlayer(ServerPlayer p_140498_)
void
updatePlayers(List<ServerPlayer> p_140488_)
-
Field Details
-
serverEntity
-
entity
-
range
private final int range -
lastSectionPos
SectionPos lastSectionPos -
seenBy
-
-
Constructor Details
-
TrackedEntity
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
broadcast
-
broadcastAndSend
-
broadcastRemoved
public void broadcastRemoved() -
removePlayer
-
updatePlayer
-
scaledRange
private int scaledRange(int p_140484_) -
getEffectiveRange
private int getEffectiveRange() -
updatePlayers
-