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 kn
intermediary net/minecraft/class_2044
named net/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket
  • Field Details

    • pos

      private BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official a Lkn;a:Let;
      intermediary field_11677 Lnet/minecraft/class_2044;field_11677:Lnet/minecraft/class_2552;
      named pos Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
  • Constructor Details

    • PlayerSpawnPositionS2CPacket

      public PlayerSpawnPositionS2CPacket()
    • PlayerSpawnPositionS2CPacket

      public PlayerSpawnPositionS2CPacket(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkn;<init>(Let;)V
      intermediary <init> Lnet/minecraft/class_2044;<init>(Lnet/minecraft/class_2552;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;)V
  • Method Details

    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a(Lgy;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lht;b(Lgy;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lkn;a(Lhw;)V
      intermediary method_7898 Lnet/minecraft/class_2044;method_7898(Lnet/minecraft/class_1993;)V
      named apply Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getPos

      @Environment(CLIENT) public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official a Lkn;a()Let;
      intermediary method_7899 Lnet/minecraft/class_2044;method_7899()Lnet/minecraft/class_2552;
      named getPos Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;