Package net.minecraft.server.world
Class ThreadedAnvilChunkStorage.EntityTracker
java.lang.Object
net.minecraft.server.world.ThreadedAnvilChunkStorage.EntityTracker
- Enclosing class:
- ThreadedAnvilChunkStorage
class ThreadedAnvilChunkStorage.EntityTracker extends Object
- Mappings:
Namespace Name official aai$b
intermediary net/minecraft/class_3898$class_3208
named net/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker
-
Field Summary
Fields Modifier and Type Field Description private Entity
entity
private EntityTrackerEntry
entry
private ChunkSectionPos
lastCameraPosition
private int
maxDistance
private Set<class_5629>
playersTracking
-
Constructor Summary
Constructors Constructor Description EntityTracker(Entity maxDistance, int tickInterval, int int2, boolean bool)
-
Method Summary
Modifier and Type Method Description private int
adjustTrackingDistance(int initialDistance)
boolean
equals(Object o)
private int
getMaxTrackDistance()
int
hashCode()
void
sendToNearbyPlayers(Packet<?> packet)
void
sendToOtherNearbyPlayers(Packet<?> packet)
void
stopTracking()
void
stopTracking(ServerPlayerEntity serverPlayerEntity)
void
updateCameraPosition(List<ServerPlayerEntity> players)
void
updateCameraPosition(ServerPlayerEntity player)
-
Field Details
-
entry
- Mappings:
Namespace Name Mixin selector official b
Laai$b;b:Laau;
intermediary field_18246
Lnet/minecraft/class_3898$class_3208;field_18246:Lnet/minecraft/class_3231;
named entry
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;entry:Lnet/minecraft/server/network/EntityTrackerEntry;
-
entity
- Mappings:
Namespace Name Mixin selector official c
Laai$b;c:Laqv;
intermediary field_18247
Lnet/minecraft/class_3898$class_3208;field_18247:Lnet/minecraft/class_1297;
named entity
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;entity:Lnet/minecraft/entity/Entity;
-
maxDistance
private final int maxDistance- Mappings:
Namespace Name Mixin selector official d
Laai$b;d:I
intermediary field_18248
Lnet/minecraft/class_3898$class_3208;field_18248:I
named maxDistance
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;maxDistance:I
-
lastCameraPosition
- Mappings:
Namespace Name Mixin selector official e
Laai$b;e:Lgq;
intermediary field_18249
Lnet/minecraft/class_3898$class_3208;field_18249:Lnet/minecraft/class_4076;
named lastCameraPosition
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;lastCameraPosition:Lnet/minecraft/util/math/ChunkSectionPos;
-
playersTracking
- Mappings:
Namespace Name Mixin selector official f
Laai$b;f:Ljava/util/Set;
intermediary field_18250
Lnet/minecraft/class_3898$class_3208;field_18250:Ljava/util/Set;
named playersTracking
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;playersTracking:Ljava/util/Set;
-
-
Constructor Details
-
EntityTracker
- Mappings:
Namespace Name Mixin selector official <init>
Laai$b;<init>(Laai;Laqv;IIZ)V
intermediary <init>
Lnet/minecraft/class_3898$class_3208;<init>(Lnet/minecraft/class_3898;Lnet/minecraft/class_1297;IIZ)V
named <init>
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;<init>(Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;Lnet/minecraft/entity/Entity;IIZ)V
-
-
Method Details
-
equals
- Overrides:
equals
in classObject
- Mappings:
Namespace Name Mixin selector official equals
Laai$b;equals(Ljava/lang/Object;)Z
intermediary equals
Lnet/minecraft/class_3898$class_3208;equals(Ljava/lang/Object;)Z
named equals
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode() -
sendToOtherNearbyPlayers
- Mappings:
Namespace Name Mixin selector official a
Laai$b;a(Lpa;)V
intermediary method_18730
Lnet/minecraft/class_3898$class_3208;method_18730(Lnet/minecraft/class_2596;)V
named sendToOtherNearbyPlayers
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;sendToOtherNearbyPlayers(Lnet/minecraft/network/Packet;)V
-
sendToNearbyPlayers
- Mappings:
Namespace Name Mixin selector official b
Laai$b;b(Lpa;)V
intermediary method_18734
Lnet/minecraft/class_3898$class_3208;method_18734(Lnet/minecraft/class_2596;)V
named sendToNearbyPlayers
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;sendToNearbyPlayers(Lnet/minecraft/network/Packet;)V
-
stopTracking
public void stopTracking()- Mappings:
Namespace Name Mixin selector official a
Laai$b;a()V
intermediary method_18728
Lnet/minecraft/class_3898$class_3208;method_18728()V
named stopTracking
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;stopTracking()V
-
stopTracking
- Mappings:
Namespace Name Mixin selector official a
Laai$b;a(Laaw;)V
intermediary method_18733
Lnet/minecraft/class_3898$class_3208;method_18733(Lnet/minecraft/class_3222;)V
named stopTracking
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;stopTracking(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
updateCameraPosition
- Mappings:
Namespace Name Mixin selector official b
Laai$b;b(Laaw;)V
intermediary method_18736
Lnet/minecraft/class_3898$class_3208;method_18736(Lnet/minecraft/class_3222;)V
named updateCameraPosition
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;updateCameraPosition(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
adjustTrackingDistance
private int adjustTrackingDistance(int initialDistance)- Mappings:
Namespace Name Mixin selector official a
Laai$b;a(I)I
intermediary method_27906
Lnet/minecraft/class_3898$class_3208;method_27906(I)I
named adjustTrackingDistance
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;adjustTrackingDistance(I)I
-
getMaxTrackDistance
private int getMaxTrackDistance()- Mappings:
Namespace Name Mixin selector official b
Laai$b;b()I
intermediary method_22844
Lnet/minecraft/class_3898$class_3208;method_22844()I
named getMaxTrackDistance
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;getMaxTrackDistance()I
-
updateCameraPosition
- Mappings:
Namespace Name Mixin selector official a
Laai$b;a(Ljava/util/List;)V
intermediary method_18729
Lnet/minecraft/class_3898$class_3208;method_18729(Ljava/util/List;)V
named updateCameraPosition
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker;updateCameraPosition(Ljava/util/List;)V
-