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 Summary
FieldsModifier and TypeFieldDescriptionprivate final class_8290
The field for theaction
record component.private final boolean
The field for theresetAll
record component.private final List<class_8291>
The field for therules
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8479
(boolean bool, class_8290 class_8290, List<class_8291> list) class_8479
(PacketByteBuf packetByteBuf) -
Method Summary
Modifier and TypeMethodDescriptionaction()
Returns the value of theaction
record component.void
apply
(ClientPlayPacketListener clientPlayPacketListener) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.private static void
method_51137
(PacketByteBuf packetByteBuf, class_8291 class_8291) private static class_8291
method_51139
(PacketByteBuf packetByteBuf) boolean
resetAll()
Returns the value of theresetAll
record component.rules()
Returns the value of therules
record component.final String
toString()
Returns a string representation of this record class.void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
Field Details
-
Constructor Details
-
class_8479
-
class_8479
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<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
- 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
- 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
- Specified by:
apply
in interfacePacket<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
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. -
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. -
equals
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 withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
resetAll
public boolean resetAll()Returns the value of theresetAll
record component.- Returns:
- the value of the
resetAll
record component
-
action
Returns the value of theaction
record component.- Returns:
- the value of the
action
record component
-
rules
Returns the value of therules
record component.- Returns:
- the value of the
rules
record component
-