Package net.minecraft
Record Class class_10264
java.lang.Object
java.lang.Record
net.minecraft.class_10264
- Record Components:
id-values-onGround-
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public record class_10264(int id, PlayerPosition values, boolean onGround)
extends Record
implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/class_10264intermediary net/minecraft/class_10264official adwnamed idintermediary comp_3223official bnamed valuesintermediary comp_3224official cnamed onGroundintermediary comp_3225official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf, class_10264> private final intThe field for theidrecord component.private final booleanThe field for theonGroundrecord component.private final PlayerPositionThe field for thevaluesrecord component. -
Constructor Summary
Constructors -
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.static class_10264method_64558(Entity entity) booleanonGround()Returns the value of theonGroundrecord component.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord 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. -
values
The field for thevaluesrecord component. -
onGround
private final boolean onGroundThe field for theonGroundrecord component. -
field_54515
- Mappings:
Namespace Name Mixin selector named field_54515Lnet/minecraft/class_10264;field_54515:Lnet/minecraft/network/codec/PacketCodec;intermediary field_54515Lnet/minecraft/class_10264;field_54515:Lnet/minecraft/class_9139;official aLadw;a:Lzt;
-
-
Constructor Details
-
class_10264
-
-
Method Details
-
method_64558
- Mappings:
Namespace Name Mixin selector named method_64558Lnet/minecraft/class_10264;method_64558(Lnet/minecraft/entity/Entity;)Lnet/minecraft/class_10264;intermediary method_64558Lnet/minecraft/class_10264;method_64558(Lnet/minecraft/class_1297;)Lnet/minecraft/class_10264;official aLadw;a(Lbvf;)Ladw;
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;official aLaac;a()Laae;
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/class_10264;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)Vintermediary method_64557Lnet/minecraft/class_10264;method_64557(Lnet/minecraft/class_2602;)Vofficial aLadw;a(Lacr;)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
-
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-
onGround
public boolean onGround()Returns the value of theonGroundrecord component.- Returns:
- the value of the
onGroundrecord component
-