Package net.minecraft
Record Class class_10952
java.lang.Object
java.lang.Record
net.minecraft.class_10952
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public record class_10952(int b, boolean c, Map<RegistryEntry<class_10976>,Boolean> d, Map<RegistryEntry<class_10976>,class_10976.class_10978> e, Map<RegistryEntry<class_10976>,Boolean> f)
extends Record
implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/class_10952intermediary net/minecraft/class_10952official agy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thebrecord component.private final booleanThe field for thecrecord component.private final Map<RegistryEntry<class_10976>, Boolean> The field for thedrecord component.private final Map<RegistryEntry<class_10976>, class_10976.class_10978> The field for theerecord component.private final Map<RegistryEntry<class_10976>, Boolean> The field for thefrecord component.static final PacketCodec<RegistryByteBuf, class_10952> -
Constructor Summary
ConstructorsConstructorDescriptionclass_10952(int int2, boolean bool, Map<RegistryEntry<class_10976>, Boolean> map, Map<RegistryEntry<class_10976>, class_10976.class_10978> map2, Map<RegistryEntry<class_10976>, Boolean> map3) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) intb()Returns the value of thebrecord component.booleanc()Returns the value of thecrecord component.d()Returns the value of thedrecord component.e()Returns the value of theerecord component.final booleanIndicates whether some other object is "equal to" this one.f()Returns the value of thefrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
b
private final int bThe field for thebrecord component. -
c
private final boolean cThe field for thecrecord component. -
d
The field for thedrecord component. -
e
The field for theerecord component. -
f
The field for thefrecord component. -
field_58210
- Mappings:
Namespace Name Mixin selector named field_58210Lnet/minecraft/class_10952;field_58210:Lnet/minecraft/network/codec/PacketCodec;intermediary field_58210Lnet/minecraft/class_10952;field_58210:Lnet/minecraft/class_9139;official aLagy;a:Lzg;
-
-
Constructor Details
-
class_10952
public class_10952(int int2, boolean bool, Map<RegistryEntry<class_10976>, Boolean> map, Map<RegistryEntry<class_10976>, class_10976.class_10978> map2, Map<RegistryEntry<class_10976>, Boolean> map3)
-
-
Method Details
-
getPacketType
- Specified by:
getPacketTypein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketTypeLnet/minecraft/network/packet/Packet;getPacketType()Lnet/minecraft/network/packet/PacketType;intermediary method_65080Lnet/minecraft/class_2596;method_65080()Lnet/minecraft/class_9145;official aLzq;a()Lzs;
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/class_10952;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)Vintermediary method_68905Lnet/minecraft/class_10952;method_68905(Lnet/minecraft/class_2602;)Vofficial aLagy;a(Lach;)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 '=='. -
b
public int b()Returns the value of thebrecord component.- Returns:
- the value of the
brecord component
-
c
public boolean c()Returns the value of thecrecord component.- Returns:
- the value of the
crecord component
-
d
Returns the value of thedrecord component.- Returns:
- the value of the
drecord component
-
e
Returns the value of theerecord component.- Returns:
- the value of the
erecord component
-
f
Returns the value of thefrecord component.- Returns:
- the value of the
frecord component
-