Package net.minecraft.server.network
Class EntityTrackerEntry
java.lang.Object
net.minecraft.server.network.EntityTrackerEntry
- Mappings:
Namespace Name named net/minecraft/server/network/EntityTrackerEntry
intermediary net/minecraft/class_3231
official asf
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private @Nullable List
<DataTracker.SerializedEntry<?>> private final Entity
private static final int
static final int
private static final double
private static final int
private boolean
private byte
private boolean
private byte
private byte
private static final Logger
private final int
private final TrackedPosition
private int
private int
private Vec3d
private final ServerWorld
-
Constructor Summary
ConstructorDescriptionEntityTrackerEntry
(ServerWorld world, Entity entity, int tickInterval, boolean alwaysUpdateVelocity, Consumer<Packet<?>> receiver) -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
getPitch()
getPos()
float
getYaw()
void
sendPackets
(ServerPlayerEntity player, Consumer<Packet<ClientPlayPacketListener>> sender) private void
sendSyncPacket
(Packet<?> packet) Sends a packet for synchronization with watcher and tracked player (if applicable)void
startTracking
(ServerPlayerEntity player) void
stopTracking
(ServerPlayerEntity player) streamChangedPassengers
(List<Entity> passengers, List<Entity> lastPassengers) private void
Synchronizes tracked data and attributesvoid
tick()
private void
tickExperimentalMinecart
(ExperimentalMinecartController controller, byte yaw, byte pitch, boolean changedAngles)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/server/network/EntityTrackerEntry;LOGGER:Lorg/slf4j/Logger;
intermediary field_14041
Lnet/minecraft/class_3231;field_14041:Lorg/slf4j/Logger;
official b
Lasf;b:Lorg/slf4j/Logger;
-
field_29767
private static final int field_29767- See Also:
- Mappings:
Namespace Name Mixin selector named field_29767
Lnet/minecraft/server/network/EntityTrackerEntry;field_29767:I
intermediary field_29767
Lnet/minecraft/class_3231;field_29767:I
official c
Lasf;c:I
-
field_44988
private static final double field_44988- See Also:
- Mappings:
Namespace Name Mixin selector named field_44988
Lnet/minecraft/server/network/EntityTrackerEntry;field_44988:D
intermediary field_44988
Lnet/minecraft/class_3231;field_44988:D
official d
Lasf;d:D
-
field_44987
public static final int field_44987- See Also:
- Mappings:
Namespace Name Mixin selector named field_44987
Lnet/minecraft/server/network/EntityTrackerEntry;field_44987:I
intermediary field_44987
Lnet/minecraft/class_3231;field_44987:I
official a
Lasf;a:I
-
field_44989
private static final int field_44989- See Also:
- Mappings:
Namespace Name Mixin selector named field_44989
Lnet/minecraft/server/network/EntityTrackerEntry;field_44989:I
intermediary field_44989
Lnet/minecraft/class_3231;field_44989:I
official e
Lasf;e:I
-
world
- Mappings:
Namespace Name Mixin selector named world
Lnet/minecraft/server/network/EntityTrackerEntry;world:Lnet/minecraft/server/world/ServerWorld;
intermediary field_18258
Lnet/minecraft/class_3231;field_18258:Lnet/minecraft/class_3218;
official f
Lasf;f:Lash;
-
entity
- Mappings:
Namespace Name Mixin selector named entity
Lnet/minecraft/server/network/EntityTrackerEntry;entity:Lnet/minecraft/entity/Entity;
intermediary field_14049
Lnet/minecraft/class_3231;field_14049:Lnet/minecraft/class_1297;
official g
Lasf;g:Lbvj;
-
tickInterval
private final int tickInterval- Mappings:
Namespace Name Mixin selector named tickInterval
Lnet/minecraft/server/network/EntityTrackerEntry;tickInterval:I
intermediary field_14037
Lnet/minecraft/class_3231;field_14037:I
official h
Lasf;h:I
-
alwaysUpdateVelocity
private final boolean alwaysUpdateVelocity- Mappings:
Namespace Name Mixin selector named alwaysUpdateVelocity
Lnet/minecraft/server/network/EntityTrackerEntry;alwaysUpdateVelocity:Z
intermediary field_14039
Lnet/minecraft/class_3231;field_14039:Z
official i
Lasf;i:Z
-
receiver
- Mappings:
Namespace Name Mixin selector named receiver
Lnet/minecraft/server/network/EntityTrackerEntry;receiver:Ljava/util/function/Consumer;
intermediary field_18259
Lnet/minecraft/class_3231;field_18259:Ljava/util/function/Consumer;
official j
Lasf;j:Ljava/util/function/Consumer;
-
trackedPos
- Mappings:
Namespace Name Mixin selector named trackedPos
Lnet/minecraft/server/network/EntityTrackerEntry;trackedPos:Lnet/minecraft/entity/TrackedPosition;
intermediary field_39019
Lnet/minecraft/class_3231;field_39019:Lnet/minecraft/class_7422;
official k
Lasf;k:Lajm;
-
lastYaw
private byte lastYaw- Mappings:
Namespace Name Mixin selector named lastYaw
Lnet/minecraft/server/network/EntityTrackerEntry;lastYaw:B
intermediary field_14060
Lnet/minecraft/class_3231;field_14060:B
official l
Lasf;l:B
-
lastPitch
private byte lastPitch- Mappings:
Namespace Name Mixin selector named lastPitch
Lnet/minecraft/server/network/EntityTrackerEntry;lastPitch:B
intermediary field_14047
Lnet/minecraft/class_3231;field_14047:B
official m
Lasf;m:B
-
lastHeadYaw
private byte lastHeadYaw- Mappings:
Namespace Name Mixin selector named lastHeadYaw
Lnet/minecraft/server/network/EntityTrackerEntry;lastHeadYaw:B
intermediary field_14059
Lnet/minecraft/class_3231;field_14059:B
official n
Lasf;n:B
-
velocity
- Mappings:
Namespace Name Mixin selector named velocity
Lnet/minecraft/server/network/EntityTrackerEntry;velocity:Lnet/minecraft/util/math/Vec3d;
intermediary field_18278
Lnet/minecraft/class_3231;field_18278:Lnet/minecraft/class_243;
official o
Lasf;o:Lfbx;
-
trackingTick
private int trackingTick- Mappings:
Namespace Name Mixin selector named trackingTick
Lnet/minecraft/server/network/EntityTrackerEntry;trackingTick:I
intermediary field_14040
Lnet/minecraft/class_3231;field_14040:I
official p
Lasf;p:I
-
updatesWithoutVehicle
private int updatesWithoutVehicle- Mappings:
Namespace Name Mixin selector named updatesWithoutVehicle
Lnet/minecraft/server/network/EntityTrackerEntry;updatesWithoutVehicle:I
intermediary field_14043
Lnet/minecraft/class_3231;field_14043:I
official q
Lasf;q:I
-
lastPassengers
- Mappings:
Namespace Name Mixin selector named lastPassengers
Lnet/minecraft/server/network/EntityTrackerEntry;lastPassengers:Ljava/util/List;
intermediary field_14045
Lnet/minecraft/class_3231;field_14045:Ljava/util/List;
official r
Lasf;r:Ljava/util/List;
-
hadVehicle
private boolean hadVehicle- Mappings:
Namespace Name Mixin selector named hadVehicle
Lnet/minecraft/server/network/EntityTrackerEntry;hadVehicle:Z
intermediary field_14051
Lnet/minecraft/class_3231;field_14051:Z
official s
Lasf;s:Z
-
lastOnGround
private boolean lastOnGround- Mappings:
Namespace Name Mixin selector named lastOnGround
Lnet/minecraft/server/network/EntityTrackerEntry;lastOnGround:Z
intermediary field_14036
Lnet/minecraft/class_3231;field_14036:Z
official t
Lasf;t:Z
-
changedEntries
- Mappings:
Namespace Name Mixin selector named changedEntries
Lnet/minecraft/server/network/EntityTrackerEntry;changedEntries:Ljava/util/List;
intermediary field_41697
Lnet/minecraft/class_3231;field_41697:Ljava/util/List;
official u
Lasf;u:Ljava/util/List;
-
-
Constructor Details
-
EntityTrackerEntry
public EntityTrackerEntry(ServerWorld world, Entity entity, int tickInterval, boolean alwaysUpdateVelocity, Consumer<Packet<?>> receiver) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/network/EntityTrackerEntry;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;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
official <init>
Lasf;<init>(Lash;Lbvj;IZLjava/util/function/Consumer;)V
-
-
Method Details
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/server/network/EntityTrackerEntry;tick()V
intermediary method_18756
Lnet/minecraft/class_3231;method_18756()V
official a
Lasf;a()V
-
tickExperimentalMinecart
private void tickExperimentalMinecart(ExperimentalMinecartController controller, byte yaw, byte pitch, boolean changedAngles) - Mappings:
Namespace Name Mixin selector named tickExperimentalMinecart
Lnet/minecraft/server/network/EntityTrackerEntry;tickExperimentalMinecart(Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;BBZ)V
intermediary method_61268
Lnet/minecraft/class_3231;method_61268(Lnet/minecraft/class_9879;BBZ)V
official a
Lasf;a(Lcsk;BBZ)V
-
streamChangedPassengers
private static Stream<Entity> streamChangedPassengers(List<Entity> passengers, List<Entity> lastPassengers) - Mappings:
Namespace Name Mixin selector named streamChangedPassengers
Lnet/minecraft/server/network/EntityTrackerEntry;streamChangedPassengers(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;
official a
Lasf;a(Ljava/util/List;Ljava/util/List;)Ljava/util/stream/Stream;
-
stopTracking
- Mappings:
Namespace Name Mixin selector named stopTracking
Lnet/minecraft/server/network/EntityTrackerEntry;stopTracking(Lnet/minecraft/server/network/ServerPlayerEntity;)V
intermediary method_14302
Lnet/minecraft/class_3231;method_14302(Lnet/minecraft/class_3222;)V
official a
Lasf;a(Lasi;)V
-
startTracking
- Mappings:
Namespace Name Mixin selector named startTracking
Lnet/minecraft/server/network/EntityTrackerEntry;startTracking(Lnet/minecraft/server/network/ServerPlayerEntity;)V
intermediary method_18760
Lnet/minecraft/class_3231;method_18760(Lnet/minecraft/class_3222;)V
official b
Lasf;b(Lasi;)V
-
sendPackets
public void sendPackets(ServerPlayerEntity player, Consumer<Packet<ClientPlayPacketListener>> sender) - Mappings:
Namespace Name Mixin selector named sendPackets
Lnet/minecraft/server/network/EntityTrackerEntry;sendPackets(Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/util/function/Consumer;)V
intermediary method_18757
Lnet/minecraft/class_3231;method_18757(Lnet/minecraft/class_3222;Ljava/util/function/Consumer;)V
official a
Lasf;a(Lasi;Ljava/util/function/Consumer;)V
-
getPos
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/server/network/EntityTrackerEntry;getPos()Lnet/minecraft/util/math/Vec3d;
intermediary method_60942
Lnet/minecraft/class_3231;method_60942()Lnet/minecraft/class_243;
official b
Lasf;b()Lfbx;
-
getVelocity
- Mappings:
Namespace Name Mixin selector named getVelocity
Lnet/minecraft/server/network/EntityTrackerEntry;getVelocity()Lnet/minecraft/util/math/Vec3d;
intermediary method_60943
Lnet/minecraft/class_3231;method_60943()Lnet/minecraft/class_243;
official c
Lasf;c()Lfbx;
-
getPitch
public float getPitch()- Mappings:
Namespace Name Mixin selector named getPitch
Lnet/minecraft/server/network/EntityTrackerEntry;getPitch()F
intermediary method_60944
Lnet/minecraft/class_3231;method_60944()F
official d
Lasf;d()F
-
getYaw
public float getYaw()- Mappings:
Namespace Name Mixin selector named getYaw
Lnet/minecraft/server/network/EntityTrackerEntry;getYaw()F
intermediary method_60945
Lnet/minecraft/class_3231;method_60945()F
official e
Lasf;e()F
-
getHeadYaw
public float getHeadYaw()- Mappings:
Namespace Name Mixin selector named getHeadYaw
Lnet/minecraft/server/network/EntityTrackerEntry;getHeadYaw()F
intermediary method_60946
Lnet/minecraft/class_3231;method_60946()F
official f
Lasf;f()F
-
syncEntityData
private void syncEntityData()Synchronizes tracked data and attributes- Mappings:
Namespace Name Mixin selector named syncEntityData
Lnet/minecraft/server/network/EntityTrackerEntry;syncEntityData()V
intermediary method_14306
Lnet/minecraft/class_3231;method_14306()V
official g
Lasf;g()V
-
sendSyncPacket
Sends a packet for synchronization with watcher and tracked player (if applicable)- Mappings:
Namespace Name Mixin selector named sendSyncPacket
Lnet/minecraft/server/network/EntityTrackerEntry;sendSyncPacket(Lnet/minecraft/network/packet/Packet;)V
intermediary method_18758
Lnet/minecraft/class_3231;method_18758(Lnet/minecraft/class_2596;)V
official a
Lasf;a(Laac;)V
-