Class EntityTracker

java.lang.Object
net.minecraft.server.entity.EntityTracker

@Environment(SERVER) public class EntityTracker extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_488
glue class_523
server nl
client net/minecraft/class_488
named net/minecraft/server/entity/EntityTracker
  • Field Details

    • entries

      private Set entries
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2004 Lnet/minecraft/class_488;field_2004:Ljava/util/Set;
      glue field_2216 Lclass_523;field_2216:Ljava/util/Set;
      server a Lnl;a:Ljava/util/Set;
      client field_2004 Lnet/minecraft/class_488;field_2004:Ljava/util/Set;
      named entries Lnet/minecraft/server/entity/EntityTracker;entries:Ljava/util/Set;
    • entriesById

      private IntHashMap entriesById
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2005 Lnet/minecraft/class_488;field_2005:Lnet/minecraft/class_80;
      glue field_2217 Lclass_523;field_2217:Lclass_250;
      server b Lnl;b:Lgo;
      client field_2005 Lnet/minecraft/class_488;field_2005:Ljx;
      named entriesById Lnet/minecraft/server/entity/EntityTracker;entriesById:Lnet/minecraft/util/IntHashMap;
    • world

      private MinecraftServer world
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2006 Lnet/minecraft/class_488;field_2006:Lnet/minecraft/server/MinecraftServer;
      glue field_2218 Lclass_523;field_2218:Lnet/minecraft/server/MinecraftServer;
      server c Lnl;c:Lnet/minecraft/server/MinecraftServer;
      client field_2006 Lnet/minecraft/class_488;field_2006:Lnet/minecraft/server/MinecraftServer;
      named world Lnet/minecraft/server/entity/EntityTracker;world:Lnet/minecraft/server/MinecraftServer;
    • viewDistance

      private int viewDistance
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2007 Lnet/minecraft/class_488;field_2007:I
      glue field_2219 Lclass_523;field_2219:I
      server d Lnl;d:I
      client field_2007 Lnet/minecraft/class_488;field_2007:I
      named viewDistance Lnet/minecraft/server/entity/EntityTracker;viewDistance:I
    • dimensionId

      private int dimensionId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2008 Lnet/minecraft/class_488;field_2008:I
      glue field_2220 Lclass_523;field_2220:I
      server e Lnl;e:I
      client field_2008 Lnet/minecraft/class_488;field_2008:I
      named dimensionId Lnet/minecraft/server/entity/EntityTracker;dimensionId:I
  • Constructor Details

    • EntityTracker

      public EntityTracker(MinecraftServer server, int dimensionId)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_488;<init>(Lnet/minecraft/server/MinecraftServer;I)V
      glue <init> Lclass_523;<init>(Lnet/minecraft/server/MinecraftServer;I)V
      server <init> Lnl;<init>(Lnet/minecraft/server/MinecraftServer;I)V
      client <init> Lnet/minecraft/class_488;<init>(Lnet/minecraft/server/MinecraftServer;I)V
      named <init> Lnet/minecraft/server/entity/EntityTracker;<init>(Lnet/minecraft/server/MinecraftServer;I)V
  • Method Details

    • onEntityAdded

      public void onEntityAdded(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1665 Lnet/minecraft/class_488;method_1665(Lnet/minecraft/class_57;)V
      glue method_1931 Lclass_523;method_1931(Lclass_450;)V
      server a Lnl;a(Llq;)V
      client method_1665 Lnet/minecraft/class_488;method_1665(Lsn;)V
      named onEntityAdded Lnet/minecraft/server/entity/EntityTracker;onEntityAdded(Lnet/minecraft/entity/Entity;)V
    • startTracking

      public void startTracking(Entity entity, int trackedDistance, int tracingFrequency)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1666 Lnet/minecraft/class_488;method_1666(Lnet/minecraft/class_57;II)V
      glue method_1932 Lclass_523;method_1932(Lclass_450;II)V
      server a Lnl;a(Llq;II)V
      client method_1666 Lnet/minecraft/class_488;method_1666(Lsn;II)V
      named startTracking Lnet/minecraft/server/entity/EntityTracker;startTracking(Lnet/minecraft/entity/Entity;II)V
    • startTracking

      public void startTracking(Entity entity, int trackedDistance, int tracingFrequency, boolean alwaysUpdateVelocity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1667 Lnet/minecraft/class_488;method_1667(Lnet/minecraft/class_57;IIZ)V
      glue method_1933 Lclass_523;method_1933(Lclass_450;IIZ)V
      server a Lnl;a(Llq;IIZ)V
      client method_1667 Lnet/minecraft/class_488;method_1667(Lsn;IIZ)V
      named startTracking Lnet/minecraft/server/entity/EntityTracker;startTracking(Lnet/minecraft/entity/Entity;IIZ)V
    • onEntityRemoved

      public void onEntityRemoved(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1669 Lnet/minecraft/class_488;method_1669(Lnet/minecraft/class_57;)V
      glue method_1935 Lclass_523;method_1935(Lclass_450;)V
      server b Lnl;b(Llq;)V
      client method_1669 Lnet/minecraft/class_488;method_1669(Lsn;)V
      named onEntityRemoved Lnet/minecraft/server/entity/EntityTracker;onEntityRemoved(Lnet/minecraft/entity/Entity;)V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1663 Lnet/minecraft/class_488;method_1663()V
      glue method_1929 Lclass_523;method_1929()V
      server a Lnl;a()V
      client method_1663 Lnet/minecraft/class_488;method_1663()V
      named tick Lnet/minecraft/server/entity/EntityTracker;tick()V
    • sendToListeners

      public void sendToListeners(Entity entity, Packet packet)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1668 Lnet/minecraft/class_488;method_1668(Lnet/minecraft/class_57;Lnet/minecraft/class_169;)V
      glue method_1934 Lclass_523;method_1934(Lclass_450;Lclass_257;)V
      server a Lnl;a(Llq;Lgt;)V
      client method_1668 Lnet/minecraft/class_488;method_1668(Lsn;Lki;)V
      named sendToListeners Lnet/minecraft/server/entity/EntityTracker;sendToListeners(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)V
    • sendToAround

      public void sendToAround(Entity entity, Packet packet)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1670 Lnet/minecraft/class_488;method_1670(Lnet/minecraft/class_57;Lnet/minecraft/class_169;)V
      glue method_1936 Lclass_523;method_1936(Lclass_450;Lclass_257;)V
      server b Lnl;b(Llq;Lgt;)V
      client method_1670 Lnet/minecraft/class_488;method_1670(Lsn;Lki;)V
      named sendToAround Lnet/minecraft/server/entity/EntityTracker;sendToAround(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)V
    • removeListener

      public void removeListener(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1664 Lnet/minecraft/class_488;method_1664(Lnet/minecraft/class_69;)V
      glue method_1930 Lclass_523;method_1930(Lclass_132;)V
      server a Lnl;a(Ldl;)V
      client method_1664 Lnet/minecraft/class_488;method_1664(Lnet/minecraft/class_69;)V
      named removeListener Lnet/minecraft/server/entity/EntityTracker;removeListener(Lnet/minecraft/entity/player/ServerPlayerEntity;)V