Class PlayerSpawnS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerSpawnS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class PlayerSpawnS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official pi
intermediary net/minecraft/class_2613
named net/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlayerSpawnS2CPacket()
PlayerSpawnS2CPacket(PlayerEntity player)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getId()
byte
getPitch()
UUID
getPlayerUuid()
double
getX()
double
getY()
byte
getYaw()
double
getZ()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
id
private int id- Mappings:
Namespace Name Mixin selector official a
Lpi;a:I
intermediary field_12017
Lnet/minecraft/class_2613;field_12017:I
named id
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;id:I
-
uuid
- Mappings:
Namespace Name Mixin selector official b
Lpi;b:Ljava/util/UUID;
intermediary field_12015
Lnet/minecraft/class_2613;field_12015:Ljava/util/UUID;
named uuid
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;uuid:Ljava/util/UUID;
-
x
private double x- Mappings:
Namespace Name Mixin selector official c
Lpi;c:D
intermediary field_12014
Lnet/minecraft/class_2613;field_12014:D
named x
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official d
Lpi;d:D
intermediary field_12013
Lnet/minecraft/class_2613;field_12013:D
named y
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official e
Lpi;e:D
intermediary field_12021
Lnet/minecraft/class_2613;field_12021:D
named z
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;z:D
-
yaw
private byte yaw- Mappings:
Namespace Name Mixin selector official f
Lpi;f:B
intermediary field_12020
Lnet/minecraft/class_2613;field_12020:B
named yaw
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;yaw:B
-
pitch
private byte pitch- Mappings:
Namespace Name Mixin selector official g
Lpi;g:B
intermediary field_12019
Lnet/minecraft/class_2613;field_12019:B
named pitch
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;pitch:B
-
-
Constructor Details
-
PlayerSpawnS2CPacket
public PlayerSpawnS2CPacket() -
PlayerSpawnS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lpi;<init>(Lbhl;)V
intermediary <init>
Lnet/minecraft/class_2613;<init>(Lnet/minecraft/class_1657;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpi;a(Lpd;)V
intermediary method_11235
Lnet/minecraft/class_2613;method_11235(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getId
- Mappings:
Namespace Name Mixin selector official b
Lpi;b()I
intermediary method_11227
Lnet/minecraft/class_2613;method_11227()I
named getId
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getId()I
-
getPlayerUuid
- Mappings:
Namespace Name Mixin selector official c
Lpi;c()Ljava/util/UUID;
intermediary method_11230
Lnet/minecraft/class_2613;method_11230()Ljava/util/UUID;
named getPlayerUuid
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getPlayerUuid()Ljava/util/UUID;
-
getX
- Mappings:
Namespace Name Mixin selector official d
Lpi;d()D
intermediary method_11231
Lnet/minecraft/class_2613;method_11231()D
named getX
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official e
Lpi;e()D
intermediary method_11232
Lnet/minecraft/class_2613;method_11232()D
named getY
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official f
Lpi;f()D
intermediary method_11233
Lnet/minecraft/class_2613;method_11233()D
named getZ
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getZ()D
-
getYaw
- Mappings:
Namespace Name Mixin selector official g
Lpi;g()B
intermediary method_11234
Lnet/minecraft/class_2613;method_11234()B
named getYaw
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getYaw()B
-
getPitch
- Mappings:
Namespace Name Mixin selector official h
Lpi;h()B
intermediary method_11228
Lnet/minecraft/class_2613;method_11228()B
named getPitch
Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getPitch()B
-