Package net.minecraft.world.server
Class ChunkManager.EntityTracker
java.lang.Object
net.minecraft.world.server.ChunkManager.EntityTracker
- Enclosing class:
- ChunkManager
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Entity
private SectionPos
private final int
private final Set<ServerPlayerEntity>
private final TrackedEntity
-
Constructor Summary
ConstructorDescriptionEntityTracker
(Entity p_i50468_2_, int p_i50468_3_, int p_i50468_4_, boolean p_i50468_5_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
broadcastAndSend
(IPacket<?> p_219392_1_) void
boolean
private int
int
hashCode()
void
removePlayer
(ServerPlayerEntity p_219399_1_) private int
scaledRange
(int p_241091_1_) void
updatePlayer
(ServerPlayerEntity p_219400_1_) void
updatePlayers
(List<ServerPlayerEntity> p_219397_1_)
-
Field Details
-
serverEntity
-
entity
-
range
private final int range -
lastSectionPos
-
seenBy
-
-
Constructor Details
-
EntityTracker
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
broadcast
-
broadcastAndSend
-
broadcastRemoved
public void broadcastRemoved() -
removePlayer
-
updatePlayer
-
scaledRange
private int scaledRange(int p_241091_1_) -
getEffectiveRange
private int getEffectiveRange() -
updatePlayers
-