Record Class EntityTrackerUpdateS2CPacket

java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.play.EntityTrackerUpdateS2CPacket
Record Components:
id -
trackedValues -
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public record EntityTrackerUpdateS2CPacket(int id, List<DataTracker.SerializedEntry<?>> trackedValues) extends Record implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official adj
intermediary net/minecraft/class_2739
named net/minecraft/network/packet/s2c/play/EntityTrackerUpdateS2CPacket
official c
intermediary comp_1127
named id
official d
intermediary comp_1128
named trackedValues
  • Field Details

    • id

      private final int id
      The field for the id record component.
    • trackedValues

      private final List<DataTracker.SerializedEntry<?>> trackedValues
      The field for the trackedValues record component.
    • field_47979

      public static final class_9139<class_9129,EntityTrackerUpdateS2CPacket> field_47979
      Mappings:
      Namespace Name Mixin selector
      official a Ladj;a:Lxo;
      intermediary field_47979 Lnet/minecraft/class_2739;field_47979:Lnet/minecraft/class_9139;
      named field_47979 Lnet/minecraft/network/packet/s2c/play/EntityTrackerUpdateS2CPacket;field_47979:Lnet/minecraft/class_9139;
    • MARKER_ID

      public static final int MARKER_ID
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ladj;b:I
      intermediary field_40850 Lnet/minecraft/class_2739;field_40850:I
      named MARKER_ID Lnet/minecraft/network/packet/s2c/play/EntityTrackerUpdateS2CPacket;MARKER_ID:I
  • Constructor Details

    • EntityTrackerUpdateS2CPacket

      private EntityTrackerUpdateS2CPacket(class_9129 class_9129)
    • EntityTrackerUpdateS2CPacket

      public EntityTrackerUpdateS2CPacket(int id, List<DataTracker.SerializedEntry<?>> list)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ladj;<init>(ILjava/util/List;)V
      intermediary <init> Lnet/minecraft/class_2739;<init>(ILjava/util/List;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityTrackerUpdateS2CPacket;<init>(ILjava/util/List;)V
  • Method Details

    • write

      private static void write(List<DataTracker.SerializedEntry<?>> trackedValues, class_9129 class_9129)
      Mappings:
      Namespace Name Mixin selector
      official a Ladj;a(Ljava/util/List;Lvb;)V
      intermediary method_46615 Lnet/minecraft/class_2739;method_46615(Ljava/util/List;Lnet/minecraft/class_9129;)V
      named write Lnet/minecraft/network/packet/s2c/play/EntityTrackerUpdateS2CPacket;write(Ljava/util/List;Lnet/minecraft/class_9129;)V
    • read

      private static List<DataTracker.SerializedEntry<?>> read(class_9129 class_9129)
      Mappings:
      Namespace Name Mixin selector
      official a Ladj;a(Lvb;)Ljava/util/List;
      intermediary method_46616 Lnet/minecraft/class_2739;method_46616(Lnet/minecraft/class_9129;)Ljava/util/List;
      named read Lnet/minecraft/network/packet/s2c/play/EntityTrackerUpdateS2CPacket;read(Lnet/minecraft/class_9129;)Ljava/util/List;
    • method_55926

      private void method_55926(class_9129 class_9129)
      Mappings:
      Namespace Name Mixin selector
      official b Ladj;b(Lvb;)V
      intermediary method_55926 Lnet/minecraft/class_2739;method_55926(Lnet/minecraft/class_9129;)V
      named method_55926 Lnet/minecraft/network/packet/s2c/play/EntityTrackerUpdateS2CPacket;method_55926(Lnet/minecraft/class_9129;)V
    • method_55846

      public class_9145<EntityTrackerUpdateS2CPacket> method_55846()
      Specified by:
      method_55846 in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxx;a()Lxz;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      named method_55846 Lnet/minecraft/network/packet/Packet;method_55846()Lnet/minecraft/class_9145;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ladj;a(Laag;)V
      intermediary method_11808 Lnet/minecraft/class_2739;method_11808(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/EntityTrackerUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • id

      public int id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • trackedValues

      public List<DataTracker.SerializedEntry<?>> trackedValues()
      Returns the value of the trackedValues record component.
      Returns:
      the value of the trackedValues record component