Class PlayerPositionLookS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerPositionLookS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class PlayerPositionLookS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official zc
intermediary net/minecraft/class_2708
named net/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket
  • Field Details

    • x

      private final double x
      Mappings:
      Namespace Name Mixin selector
      official a Lzc;a:D
      intermediary field_12395 Lnet/minecraft/class_2708;field_12395:D
      named x Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;x:D
    • y

      private final double y
      Mappings:
      Namespace Name Mixin selector
      official b Lzc;b:D
      intermediary field_12392 Lnet/minecraft/class_2708;field_12392:D
      named y Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;y:D
    • z

      private final double z
      Mappings:
      Namespace Name Mixin selector
      official c Lzc;c:D
      intermediary field_12390 Lnet/minecraft/class_2708;field_12390:D
      named z Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;z:D
    • yaw

      private final float yaw
      Mappings:
      Namespace Name Mixin selector
      official d Lzc;d:F
      intermediary field_12393 Lnet/minecraft/class_2708;field_12393:F
      named yaw Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;yaw:F
    • pitch

      private final float pitch
      Mappings:
      Namespace Name Mixin selector
      official e Lzc;e:F
      intermediary field_12391 Lnet/minecraft/class_2708;field_12391:F
      named pitch Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;pitch:F
    • flags

      private final Set<PositionFlag> flags
      Mappings:
      Namespace Name Mixin selector
      official f Lzc;f:Ljava/util/Set;
      intermediary field_12396 Lnet/minecraft/class_2708;field_12396:Ljava/util/Set;
      named flags Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;flags:Ljava/util/Set;
    • teleportId

      private final int teleportId
      Mappings:
      Namespace Name Mixin selector
      official g Lzc;g:I
      intermediary field_12394 Lnet/minecraft/class_2708;field_12394:I
      named teleportId Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;teleportId:I
  • Constructor Details

    • PlayerPositionLookS2CPacket

      public PlayerPositionLookS2CPacket(double x, double y, double z, float yaw, float pitch, Set<PositionFlag> flags, int teleportId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzc;<init>(DDDFFLjava/util/Set;I)V
      intermediary <init> Lnet/minecraft/class_2708;<init>(DDDFFLjava/util/Set;I)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;<init>(DDDFFLjava/util/Set;I)V
    • PlayerPositionLookS2CPacket

      public PlayerPositionLookS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzc;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2708;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvd;a(Lso;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lzc;a(Lww;)V
      intermediary method_11740 Lnet/minecraft/class_2708;method_11740(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getX

      public double getX()
      Mappings:
      Namespace Name Mixin selector
      official a Lzc;a()D
      intermediary method_11734 Lnet/minecraft/class_2708;method_11734()D
      named getX Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getX()D
    • getY

      public double getY()
      Mappings:
      Namespace Name Mixin selector
      official d Lzc;d()D
      intermediary method_11735 Lnet/minecraft/class_2708;method_11735()D
      named getY Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getY()D
    • getZ

      public double getZ()
      Mappings:
      Namespace Name Mixin selector
      official e Lzc;e()D
      intermediary method_11738 Lnet/minecraft/class_2708;method_11738()D
      named getZ Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getZ()D
    • getYaw

      public float getYaw()
      Mappings:
      Namespace Name Mixin selector
      official f Lzc;f()F
      intermediary method_11736 Lnet/minecraft/class_2708;method_11736()F
      named getYaw Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getYaw()F
    • getPitch

      public float getPitch()
      Mappings:
      Namespace Name Mixin selector
      official g Lzc;g()F
      intermediary method_11739 Lnet/minecraft/class_2708;method_11739()F
      named getPitch Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getPitch()F
    • getTeleportId

      public int getTeleportId()
      Mappings:
      Namespace Name Mixin selector
      official h Lzc;h()I
      intermediary method_11737 Lnet/minecraft/class_2708;method_11737()I
      named getTeleportId Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getTeleportId()I
    • getFlags

      public Set<PositionFlag> getFlags()
      Mappings:
      Namespace Name Mixin selector
      official i Lzc;i()Ljava/util/Set;
      intermediary method_11733 Lnet/minecraft/class_2708;method_11733()Ljava/util/Set;
      named getFlags Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getFlags()Ljava/util/Set;