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 xiintermediary net/minecraft/class_8479named net/minecraft/class_8479official aintermediary comp_1460named resetAllofficial bintermediary comp_1461named actionofficial cintermediary comp_1462named rules
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_8290The field for theactionrecord component.private final booleanThe field for theresetAllrecord component.private final List<class_8291>The field for therulesrecord 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 theactionrecord component.voidapply(ClientPlayPacketListener clientPlayPacketListener) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.private static voidmethod_51137(PacketByteBuf packetByteBuf, class_8291 class_8291) private static class_8291method_51139(PacketByteBuf packetByteBuf) booleanresetAll()Returns the value of theresetAllrecord component.rules()Returns the value of therulesrecord component.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
Field Details
-
Constructor Details
-
class_8479
-
class_8479
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLuo;a(Lsf;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
method_51139
- Mappings:
Namespace Name Mixin selector official bLxi;b(Lsf;)Lbee;intermediary method_51139Lnet/minecraft/class_8479;method_51139(Lnet/minecraft/class_2540;)Lnet/minecraft/class_8291;named method_51139Lnet/minecraft/class_8479;method_51139(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/class_8291;
-
method_51137
- Mappings:
Namespace Name Mixin selector official aLxi;a(Lsf;Lbee;)Vintermediary method_51137Lnet/minecraft/class_8479;method_51137(Lnet/minecraft/class_2540;Lnet/minecraft/class_8291;)Vnamed method_51137Lnet/minecraft/class_8479;method_51137(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/class_8291;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLxi;a(Lur;)Vintermediary method_51138Lnet/minecraft/class_8479;method_51138(Lnet/minecraft/class_2602;)Vnamed applyLnet/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 theresetAllrecord component.- Returns:
- the value of the
resetAllrecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
rules
Returns the value of therulesrecord component.- Returns:
- the value of the
rulesrecord component
-