Record Class WaypointS2CPacket
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.play.WaypointS2CPacket
- Record Components:
operation
-waypoint
-
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public record WaypointS2CPacket(WaypointS2CPacket.Operation operation, TrackedWaypoint waypoint)
extends Record
implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/WaypointS2CPacket
intermediary net/minecraft/class_11173
official ahc
named operation
intermediary comp_4022
official b
named waypoint
intermediary comp_4023
official c
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, WaypointS2CPacket> private final WaypointS2CPacket.Operation
The field for theoperation
record component.private final TrackedWaypoint
The field for thewaypoint
record component. -
Constructor Summary
ConstructorsConstructorDescriptionWaypointS2CPacket
(WaypointS2CPacket.Operation operation, TrackedWaypoint trackedWaypoint) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) void
apply
(TrackedWaypointHandler handler) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theoperation
record component.final String
toString()
Returns a string representation of this record class.static WaypointS2CPacket
trackAzimuth
(UUID source, Waypoint.Config config, float azimuth) static WaypointS2CPacket
trackChunk
(UUID source, Waypoint.Config config, ChunkPos chunkPos) static WaypointS2CPacket
trackPos
(UUID source, Waypoint.Config config, Vec3i pos) static WaypointS2CPacket
static WaypointS2CPacket
updateAzimuth
(UUID source, Waypoint.Config config, float azimuth) static WaypointS2CPacket
updateChunk
(UUID source, Waypoint.Config config, ChunkPos chunkPos) static WaypointS2CPacket
updatePos
(UUID source, Waypoint.Config config, Vec3i pos) waypoint()
Returns the value of thewaypoint
record component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
operation
The field for theoperation
record component. -
waypoint
The field for thewaypoint
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_59612
Lnet/minecraft/class_11173;field_59612:Lnet/minecraft/class_9139;
official a
Lahc;a:Lzm;
-
-
Constructor Details
-
WaypointS2CPacket
-
-
Method Details
-
untrack
- Mappings:
Namespace Name Mixin selector named untrack
Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;untrack(Ljava/util/UUID;)Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;
intermediary method_70584
Lnet/minecraft/class_11173;method_70584(Ljava/util/UUID;)Lnet/minecraft/class_11173;
official a
Lahc;a(Ljava/util/UUID;)Lahc;
-
trackPos
- Mappings:
Namespace Name Mixin selector named trackPos
Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;trackPos(Ljava/util/UUID;Lnet/minecraft/world/waypoint/Waypoint$Config;Lnet/minecraft/util/math/Vec3i;)Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;
intermediary method_70587
Lnet/minecraft/class_11173;method_70587(Ljava/util/UUID;Lnet/minecraft/class_11208$class_11209;Lnet/minecraft/class_2382;)Lnet/minecraft/class_11173;
official a
Lahc;a(Ljava/util/UUID;Lfkt$a;Lkg;)Lahc;
-
updatePos
- Mappings:
Namespace Name Mixin selector named updatePos
Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;updatePos(Ljava/util/UUID;Lnet/minecraft/world/waypoint/Waypoint$Config;Lnet/minecraft/util/math/Vec3i;)Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;
intermediary method_70590
Lnet/minecraft/class_11173;method_70590(Ljava/util/UUID;Lnet/minecraft/class_11208$class_11209;Lnet/minecraft/class_2382;)Lnet/minecraft/class_11173;
official b
Lahc;b(Ljava/util/UUID;Lfkt$a;Lkg;)Lahc;
-
trackChunk
- Mappings:
Namespace Name Mixin selector named trackChunk
Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;trackChunk(Ljava/util/UUID;Lnet/minecraft/world/waypoint/Waypoint$Config;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;
intermediary method_70586
Lnet/minecraft/class_11173;method_70586(Ljava/util/UUID;Lnet/minecraft/class_11208$class_11209;Lnet/minecraft/class_1923;)Lnet/minecraft/class_11173;
official a
Lahc;a(Ljava/util/UUID;Lfkt$a;Ldlz;)Lahc;
-
updateChunk
- Mappings:
Namespace Name Mixin selector named updateChunk
Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;updateChunk(Ljava/util/UUID;Lnet/minecraft/world/waypoint/Waypoint$Config;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;
intermediary method_70589
Lnet/minecraft/class_11173;method_70589(Ljava/util/UUID;Lnet/minecraft/class_11208$class_11209;Lnet/minecraft/class_1923;)Lnet/minecraft/class_11173;
official b
Lahc;b(Ljava/util/UUID;Lfkt$a;Ldlz;)Lahc;
-
trackAzimuth
- Mappings:
Namespace Name Mixin selector named trackAzimuth
Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;trackAzimuth(Ljava/util/UUID;Lnet/minecraft/world/waypoint/Waypoint$Config;F)Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;
intermediary method_70585
Lnet/minecraft/class_11173;method_70585(Ljava/util/UUID;Lnet/minecraft/class_11208$class_11209;F)Lnet/minecraft/class_11173;
official a
Lahc;a(Ljava/util/UUID;Lfkt$a;F)Lahc;
-
updateAzimuth
- Mappings:
Namespace Name Mixin selector named updateAzimuth
Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;updateAzimuth(Ljava/util/UUID;Lnet/minecraft/world/waypoint/Waypoint$Config;F)Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;
intermediary method_70588
Lnet/minecraft/class_11173;method_70588(Ljava/util/UUID;Lnet/minecraft/class_11208$class_11209;F)Lnet/minecraft/class_11173;
official b
Lahc;b(Ljava/util/UUID;Lfkt$a;F)Lahc;
-
getPacketType
- Specified by:
getPacketType
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketType
Lnet/minecraft/network/packet/Packet;getPacketType()Lnet/minecraft/network/packet/PacketType;
intermediary method_65080
Lnet/minecraft/class_2596;method_65080()Lnet/minecraft/class_9145;
official a
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_70582
Lnet/minecraft/class_11173;method_70582(Lnet/minecraft/class_2602;)V
official a
Lahc;a(Lacq;)V
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/WaypointS2CPacket;apply(Lnet/minecraft/world/waypoint/TrackedWaypointHandler;)V
intermediary method_70583
Lnet/minecraft/class_11173;method_70583(Lnet/minecraft/class_11207;)V
official a
Lahc;a(Lfks;)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)
. -
operation
Returns the value of theoperation
record component.- Returns:
- the value of the
operation
record component
-
waypoint
Returns the value of thewaypoint
record component.- Returns:
- the value of the
waypoint
record component
-