Package net.minecraft
Record Class class_10952
java.lang.Object
java.lang.Record
net.minecraft.class_10952
- Record Components:
id-reset-isActiveExclusive-visibility-obtained-
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public record class_10952(int id, boolean reset, Map<RegistryEntry<class_10976>,Boolean> isActiveExclusive, Map<RegistryEntry<class_10976>,class_10976.class_10978> visibility, Map<RegistryEntry<class_10976>,Boolean> obtained)
extends Record
implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/class_10952intermediary net/minecraft/class_10952official agynamed idintermediary comp_3887official bnamed resetintermediary comp_3888official cnamed isActiveExclusiveintermediary comp_3889official dnamed visibilityintermediary comp_3890official enamed obtainedintermediary comp_3891official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<RegistryByteBuf, class_10952> private final intThe field for theidrecord component.private final Map<RegistryEntry<class_10976>, Boolean> The field for theisActiveExclusiverecord component.private final Map<RegistryEntry<class_10976>, Boolean> The field for theobtainedrecord component.private final booleanThe field for theresetrecord component.private final Map<RegistryEntry<class_10976>, class_10976.class_10978> The field for thevisibilityrecord component. -
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) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.Returns the value of theisActiveExclusiverecord component.obtained()Returns the value of theobtainedrecord component.booleanreset()Returns the value of theresetrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevisibilityrecord component.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
-
id
private final int idThe field for theidrecord component. -
reset
private final boolean resetThe field for theresetrecord component. -
isActiveExclusive
The field for theisActiveExclusiverecord component. -
visibility
The field for thevisibilityrecord component. -
obtained
The field for theobtainedrecord 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 '=='. -
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
reset
public boolean reset()Returns the value of theresetrecord component.- Returns:
- the value of the
resetrecord component
-
isActiveExclusive
Returns the value of theisActiveExclusiverecord component.- Returns:
- the value of the
isActiveExclusiverecord component
-
visibility
Returns the value of thevisibilityrecord component.- Returns:
- the value of the
visibilityrecord component
-
obtained
Returns the value of theobtainedrecord component.- Returns:
- the value of the
obtainedrecord component
-