Package net.minecraft
Record Class class_10616
java.lang.Object
java.lang.Record
net.minecraft.class_10616
- Record Components:
pos-action-data-
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public record class_10616(BlockPos pos, class_10616.class_10617 action, class_10638.class_10639 data)
extends Record
implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/class_10616intermediary net/minecraft/class_10616official ainnamed posintermediary comp_3516official bnamed actionintermediary comp_3517official cnamed dataintermediary comp_3518official d
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_10616.class_10617The field for theactionrecord component.private final class_10638.class_10639The field for thedatarecord component.static final PacketCodec<RegistryByteBuf, class_10616> private final BlockPosThe field for theposrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10616(BlockPos blockPos, class_10616.class_10617 class_10617, Optional<RegistryKey<class_10660>> optional, Vec3i vec3i, BlockRotation blockRotation, boolean bool) class_10616(BlockPos blockPos, class_10616.class_10617 class_10617, class_10638.class_10639 class_10639) -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.voidapply(ServerPlayPacketListener serverPlayPacketListener) data()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pos()Returns the value of theposrecord component.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
-
pos
The field for theposrecord component. -
action
The field for theactionrecord component. -
data
The field for thedatarecord component. -
field_55919
- Mappings:
Namespace Name Mixin selector named field_55919Lnet/minecraft/class_10616;field_55919:Lnet/minecraft/network/codec/PacketCodec;intermediary field_55919Lnet/minecraft/class_10616;field_55919:Lnet/minecraft/class_9139;official aLain;a:Lyt;
-
-
Constructor Details
-
class_10616
public class_10616(BlockPos blockPos, class_10616.class_10617 class_10617, Optional<RegistryKey<class_10660>> optional, Vec3i vec3i, BlockRotation blockRotation, boolean bool) -
class_10616
public class_10616(BlockPos blockPos, class_10616.class_10617 class_10617, class_10638.class_10639 class_10639)
-
-
Method Details
-
getPacketType
- Specified by:
getPacketTypein interfacePacket<ServerPlayPacketListener>- 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 aLzc;a()Lze;
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/class_10616;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)Vintermediary method_66584Lnet/minecraft/class_10616;method_66584(Lnet/minecraft/class_2792;)Vofficial aLain;a(Lagm;)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). -
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-