Class EntityTrackerEntry

java.lang.Object
net.minecraft.server.network.EntityTrackerEntry

public class EntityTrackerEntry extends Object
Mappings:
Namespace Name
official akp
intermediary net/minecraft/class_3231
named net/minecraft/server/network/EntityTrackerEntry
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lakp;b:Lorg/slf4j/Logger;
      intermediary field_14041 Lnet/minecraft/class_3231;field_14041:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/server/network/EntityTrackerEntry;LOGGER:Lorg/slf4j/Logger;
    • field_29767

      private static final int field_29767
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lakp;c:I
      intermediary field_29767 Lnet/minecraft/class_3231;field_29767:I
      named field_29767 Lnet/minecraft/server/network/EntityTrackerEntry;field_29767:I
    • field_44988

      private static final double field_44988
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lakp;d:D
      intermediary field_44988 Lnet/minecraft/class_3231;field_44988:D
      named field_44988 Lnet/minecraft/server/network/EntityTrackerEntry;field_44988:D
    • field_44987

      public static final int field_44987
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lakp;a:I
      intermediary field_44987 Lnet/minecraft/class_3231;field_44987:I
      named field_44987 Lnet/minecraft/server/network/EntityTrackerEntry;field_44987:I
    • field_44989

      private static final int field_44989
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lakp;e:I
      intermediary field_44989 Lnet/minecraft/class_3231;field_44989:I
      named field_44989 Lnet/minecraft/server/network/EntityTrackerEntry;field_44989:I
    • world

      private final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      official f Lakp;f:Lakq;
      intermediary field_18258 Lnet/minecraft/class_3231;field_18258:Lnet/minecraft/class_3218;
      named world Lnet/minecraft/server/network/EntityTrackerEntry;world:Lnet/minecraft/server/world/ServerWorld;
    • entity

      private final Entity entity
      Mappings:
      Namespace Name Mixin selector
      official g Lakp;g:Lbiq;
      intermediary field_14049 Lnet/minecraft/class_3231;field_14049:Lnet/minecraft/class_1297;
      named entity Lnet/minecraft/server/network/EntityTrackerEntry;entity:Lnet/minecraft/entity/Entity;
    • tickInterval

      private final int tickInterval
      Mappings:
      Namespace Name Mixin selector
      official h Lakp;h:I
      intermediary field_14037 Lnet/minecraft/class_3231;field_14037:I
      named tickInterval Lnet/minecraft/server/network/EntityTrackerEntry;tickInterval:I
    • alwaysUpdateVelocity

      private final boolean alwaysUpdateVelocity
      Mappings:
      Namespace Name Mixin selector
      official i Lakp;i:Z
      intermediary field_14039 Lnet/minecraft/class_3231;field_14039:Z
      named alwaysUpdateVelocity Lnet/minecraft/server/network/EntityTrackerEntry;alwaysUpdateVelocity:Z
    • receiver

      private final Consumer<Packet<?>> receiver
      Mappings:
      Namespace Name Mixin selector
      official j Lakp;j:Ljava/util/function/Consumer;
      intermediary field_18259 Lnet/minecraft/class_3231;field_18259:Ljava/util/function/Consumer;
      named receiver Lnet/minecraft/server/network/EntityTrackerEntry;receiver:Ljava/util/function/Consumer;
    • trackedPos

      private final TrackedPosition trackedPos
      Mappings:
      Namespace Name Mixin selector
      official k Lakp;k:Lacy;
      intermediary field_39019 Lnet/minecraft/class_3231;field_39019:Lnet/minecraft/class_7422;
      named trackedPos Lnet/minecraft/server/network/EntityTrackerEntry;trackedPos:Lnet/minecraft/entity/TrackedPosition;
    • lastYaw

      private int lastYaw
      Mappings:
      Namespace Name Mixin selector
      official l Lakp;l:I
      intermediary field_14060 Lnet/minecraft/class_3231;field_14060:I
      named lastYaw Lnet/minecraft/server/network/EntityTrackerEntry;lastYaw:I
    • lastPitch

      private int lastPitch
      Mappings:
      Namespace Name Mixin selector
      official m Lakp;m:I
      intermediary field_14047 Lnet/minecraft/class_3231;field_14047:I
      named lastPitch Lnet/minecraft/server/network/EntityTrackerEntry;lastPitch:I
    • lastHeadYaw

      private int lastHeadYaw
      Mappings:
      Namespace Name Mixin selector
      official n Lakp;n:I
      intermediary field_14059 Lnet/minecraft/class_3231;field_14059:I
      named lastHeadYaw Lnet/minecraft/server/network/EntityTrackerEntry;lastHeadYaw:I
    • velocity

      private Vec3d velocity
      Mappings:
      Namespace Name Mixin selector
      official o Lakp;o:Lehn;
      intermediary field_18278 Lnet/minecraft/class_3231;field_18278:Lnet/minecraft/class_243;
      named velocity Lnet/minecraft/server/network/EntityTrackerEntry;velocity:Lnet/minecraft/util/math/Vec3d;
    • trackingTick

      private int trackingTick
      Mappings:
      Namespace Name Mixin selector
      official p Lakp;p:I
      intermediary field_14040 Lnet/minecraft/class_3231;field_14040:I
      named trackingTick Lnet/minecraft/server/network/EntityTrackerEntry;trackingTick:I
    • updatesWithoutVehicle

      private int updatesWithoutVehicle
      Mappings:
      Namespace Name Mixin selector
      official q Lakp;q:I
      intermediary field_14043 Lnet/minecraft/class_3231;field_14043:I
      named updatesWithoutVehicle Lnet/minecraft/server/network/EntityTrackerEntry;updatesWithoutVehicle:I
    • lastPassengers

      private List<Entity> lastPassengers
      Mappings:
      Namespace Name Mixin selector
      official r Lakp;r:Ljava/util/List;
      intermediary field_14045 Lnet/minecraft/class_3231;field_14045:Ljava/util/List;
      named lastPassengers Lnet/minecraft/server/network/EntityTrackerEntry;lastPassengers:Ljava/util/List;
    • hadVehicle

      private boolean hadVehicle
      Mappings:
      Namespace Name Mixin selector
      official s Lakp;s:Z
      intermediary field_14051 Lnet/minecraft/class_3231;field_14051:Z
      named hadVehicle Lnet/minecraft/server/network/EntityTrackerEntry;hadVehicle:Z
    • lastOnGround

      private boolean lastOnGround
      Mappings:
      Namespace Name Mixin selector
      official t Lakp;t:Z
      intermediary field_14036 Lnet/minecraft/class_3231;field_14036:Z
      named lastOnGround Lnet/minecraft/server/network/EntityTrackerEntry;lastOnGround:Z
    • changedEntries

      @Nullable private @Nullable List<DataTracker.SerializedEntry<?>> changedEntries
      Mappings:
      Namespace Name Mixin selector
      official u Lakp;u:Ljava/util/List;
      intermediary field_41697 Lnet/minecraft/class_3231;field_41697:Ljava/util/List;
      named changedEntries Lnet/minecraft/server/network/EntityTrackerEntry;changedEntries:Ljava/util/List;
  • Constructor Details

    • EntityTrackerEntry

      public EntityTrackerEntry(ServerWorld world, Entity entity, int tickInterval, boolean alwaysUpdateVelocity, Consumer<Packet<?>> receiver)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakp;<init>(Lakq;Lbiq;IZLjava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_3231;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;IZLjava/util/function/Consumer;)V
      named <init> Lnet/minecraft/server/network/EntityTrackerEntry;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;IZLjava/util/function/Consumer;)V
  • Method Details

    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official a Lakp;a()V
      intermediary method_18756 Lnet/minecraft/class_3231;method_18756()V
      named tick Lnet/minecraft/server/network/EntityTrackerEntry;tick()V
    • streamChangedPassengers

      private static Stream<Entity> streamChangedPassengers(List<Entity> passengers, List<Entity> lastPassengers)
      Mappings:
      Namespace Name Mixin selector
      official a Lakp;a(Ljava/util/List;Ljava/util/List;)Ljava/util/stream/Stream;
      intermediary method_49753 Lnet/minecraft/class_3231;method_49753(Ljava/util/List;Ljava/util/List;)Ljava/util/stream/Stream;
      named streamChangedPassengers Lnet/minecraft/server/network/EntityTrackerEntry;streamChangedPassengers(Ljava/util/List;Ljava/util/List;)Ljava/util/stream/Stream;
    • stopTracking

      public void stopTracking(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lakp;a(Lakr;)V
      intermediary method_14302 Lnet/minecraft/class_3231;method_14302(Lnet/minecraft/class_3222;)V
      named stopTracking Lnet/minecraft/server/network/EntityTrackerEntry;stopTracking(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • startTracking

      public void startTracking(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lakp;b(Lakr;)V
      intermediary method_18760 Lnet/minecraft/class_3231;method_18760(Lnet/minecraft/class_3222;)V
      named startTracking Lnet/minecraft/server/network/EntityTrackerEntry;startTracking(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • sendPackets

      public void sendPackets(ServerPlayerEntity player, Consumer<Packet<ClientPlayPacketListener>> sender)
      Mappings:
      Namespace Name Mixin selector
      official a Lakp;a(Lakr;Ljava/util/function/Consumer;)V
      intermediary method_18757 Lnet/minecraft/class_3231;method_18757(Lnet/minecraft/class_3222;Ljava/util/function/Consumer;)V
      named sendPackets Lnet/minecraft/server/network/EntityTrackerEntry;sendPackets(Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/util/function/Consumer;)V
    • syncEntityData

      private void syncEntityData()
      Synchronizes tracked data and attributes
      Mappings:
      Namespace Name Mixin selector
      official b Lakp;b()V
      intermediary method_14306 Lnet/minecraft/class_3231;method_14306()V
      named syncEntityData Lnet/minecraft/server/network/EntityTrackerEntry;syncEntityData()V
    • sendSyncPacket

      private void sendSyncPacket(Packet<?> packet)
      Sends a packet for synchronization with watcher and tracked player (if applicable)
      Mappings:
      Namespace Name Mixin selector
      official a Lakp;a(Lvd;)V
      intermediary method_18758 Lnet/minecraft/class_3231;method_18758(Lnet/minecraft/class_2596;)V
      named sendSyncPacket Lnet/minecraft/server/network/EntityTrackerEntry;sendSyncPacket(Lnet/minecraft/network/packet/Packet;)V