Package net.minecraft
Record Class class_8734
java.lang.Object
java.lang.Record
net.minecraft.class_8734
- Record Components:
registryHolder-
- All Implemented Interfaces:
Packet<class_8732>
public record class_8734(DynamicRegistryManager.Immutable registryHolder)
extends Record
implements Packet<class_8732>
- Mappings:
Namespace Name official wjintermediary net/minecraft/class_8734named net/minecraft/class_8734official aintermediary comp_1724named registryHolder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final RegistryOps<NbtElement>private final DynamicRegistryManager.ImmutableThe field for theregistryHolderrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8734(PacketByteBuf packetByteBuf) class_8734(DynamicRegistryManager.Immutable immutable) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(class_8732 class_8732) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theregistryHolderrecord 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, method_52273
-
Field Details
-
registryHolder
The field for theregistryHolderrecord component. -
field_45713
- Mappings:
Namespace Name Mixin selector official bLwj;b:Laen;intermediary field_45713Lnet/minecraft/class_8734;field_45713:Lnet/minecraft/class_6903;named field_45713Lnet/minecraft/class_8734;field_45713:Lnet/minecraft/registry/RegistryOps;
-
-
Constructor Details
-
class_8734
-
class_8734
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<class_8732>- Mappings:
Namespace Name Mixin selector official aLuw;a(Lsh;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<class_8732>- Mappings:
Namespace Name Mixin selector official aLwj;a(Lwh;)Vintermediary method_53042Lnet/minecraft/class_8734;method_53042(Lnet/minecraft/class_8732;)Vnamed applyLnet/minecraft/class_8734;apply(Lnet/minecraft/class_8732;)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. All components in this record class are compared withObjects::equals(Object,Object). -
registryHolder
Returns the value of theregistryHolderrecord component.- Returns:
- the value of the
registryHolderrecord component
-