Package net.minecraft

Record Class class_8479

java.lang.Object
java.lang.Record
net.minecraft.class_8479
Record Components:
resetAll -
action -
rules -
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public record class_8479(boolean resetAll, class_8290 action, List<class_8291> rules) extends Record implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official xi
intermediary net/minecraft/class_8479
named net/minecraft/class_8479
official a
intermediary comp_1460
named resetAll
official b
intermediary comp_1461
named action
official c
intermediary comp_1462
named rules
  • Field Details

    • resetAll

      private final boolean resetAll
      The field for the resetAll record component.
    • action

      private final class_8290 action
      The field for the action record component.
    • rules

      private final List<class_8291> rules
      The field for the rules record component.
  • Constructor Details

  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • method_51139

      private static class_8291 method_51139(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official b Lxi;b(Lsf;)Lbee;
      intermediary method_51139 Lnet/minecraft/class_8479;method_51139(Lnet/minecraft/class_2540;)Lnet/minecraft/class_8291;
      named method_51139 Lnet/minecraft/class_8479;method_51139(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/class_8291;
    • method_51137

      private static void method_51137(PacketByteBuf packetByteBuf, class_8291 class_8291)
      Mappings:
      Namespace Name Mixin selector
      official a Lxi;a(Lsf;Lbee;)V
      intermediary method_51137 Lnet/minecraft/class_8479;method_51137(Lnet/minecraft/class_2540;Lnet/minecraft/class_8291;)V
      named method_51137 Lnet/minecraft/class_8479;method_51137(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/class_8291;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxi;a(Lur;)V
      intermediary method_51138 Lnet/minecraft/class_8479;method_51138(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/class_8479;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.
    • resetAll

      public boolean resetAll()
      Returns the value of the resetAll record component.
      Returns:
      the value of the resetAll record component
    • action

      public class_8290 action()
      Returns the value of the action record component.
      Returns:
      the value of the action record component
    • rules

      public List<class_8291> rules()
      Returns the value of the rules record component.
      Returns:
      the value of the rules record component