Class PlayerSpawnPositionS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerSpawnPositionS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class PlayerSpawnPositionS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official rqintermediary net/minecraft/class_2759named net/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlayerSpawnPositionS2CPacket()PlayerSpawnPositionS2CPacket(BlockPos pos, float angle) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)floatgetAngle()BlockPosgetPos()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official aLrq;a:Lfx;intermediary field_12615Lnet/minecraft/class_2759;field_12615:Lnet/minecraft/class_2338;named posLnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
angle
private float angle- Mappings:
Namespace Name Mixin selector official bLrq;b:Fintermediary field_26381Lnet/minecraft/class_2759;field_26381:Fnamed angleLnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;angle:F
-
-
Constructor Details
-
PlayerSpawnPositionS2CPacket
public PlayerSpawnPositionS2CPacket() -
PlayerSpawnPositionS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lrq;<init>(Lfx;F)Vintermediary <init>Lnet/minecraft/class_2759;<init>(Lnet/minecraft/class_2338;F)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;F)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLrq;a(Lpd;)Vintermediary method_11869Lnet/minecraft/class_2759;method_11869(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getPos
- Mappings:
Namespace Name Mixin selector official bLrq;b()Lfx;intermediary method_11870Lnet/minecraft/class_2759;method_11870()Lnet/minecraft/class_2338;named getPosLnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-
getAngle
- Mappings:
Namespace Name Mixin selector official cLrq;c()Fintermediary method_30732Lnet/minecraft/class_2759;method_30732()Fnamed getAngleLnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;getAngle()F
-