Class PlayerActionC2SPacket

java.lang.Object
net.minecraft.network.packet.Packet
net.minecraft.network.packet.c2s.play.PlayerActionC2SPacket

public class PlayerActionC2SPacket extends Packet
Mappings:
Namespace Name
intermediary net/minecraft/class_228
glue class_247
server gm
client jv
named net/minecraft/network/packet/c2s/play/PlayerActionC2SPacket
  • Field Details

    • x

      public int x
      Mappings:
      Namespace Name Mixin selector
      intermediary field_852 Lnet/minecraft/class_228;field_852:I
      glue field_1050 Lclass_247;field_1050:I
      server a Lgm;a:I
      client a Ljv;a:I
      named x Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;x:I
    • y

      public int y
      Mappings:
      Namespace Name Mixin selector
      intermediary field_853 Lnet/minecraft/class_228;field_853:I
      glue field_1051 Lclass_247;field_1051:I
      server b Lgm;b:I
      client b Ljv;b:I
      named y Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;y:I
    • z

      public int z
      Mappings:
      Namespace Name Mixin selector
      intermediary field_854 Lnet/minecraft/class_228;field_854:I
      glue field_1052 Lclass_247;field_1052:I
      server c Lgm;c:I
      client c Ljv;c:I
      named z Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;z:I
    • direction

      public int direction
      Mappings:
      Namespace Name Mixin selector
      intermediary field_855 Lnet/minecraft/class_228;field_855:I
      glue field_1053 Lclass_247;field_1053:I
      server d Lgm;d:I
      client d Ljv;d:I
      named direction Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;direction:I
    • action

      public int action
      Mappings:
      Namespace Name Mixin selector
      intermediary field_856 Lnet/minecraft/class_228;field_856:I
      glue field_1054 Lclass_247;field_1054:I
      server e Lgm;e:I
      client e Ljv;e:I
      named action Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;action:I
  • Constructor Details

    • PlayerActionC2SPacket

      public PlayerActionC2SPacket()
    • PlayerActionC2SPacket

      @Environment(CLIENT) public PlayerActionC2SPacket(int action, int x, int y, int z, int direction)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_228;<init>(IIIII)V
      glue <init> Lclass_247;<init>(IIIII)V
      server <init> Lgm;<init>(IIIII)V
      client <init> Ljv;<init>(IIIII)V
      named <init> Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;<init>(IIIII)V
  • Method Details

    • read

      public void read(DataInputStream stream)
      Specified by:
      read in class Packet
      Mappings:
      Namespace Name Mixin selector
      intermediary method_806 Lnet/minecraft/class_169;method_806(Ljava/io/DataInputStream;)V
      glue method_2 Lclass_257;method_2(Ljava/io/DataInputStream;)V
      server a Lgt;a(Ljava/io/DataInputStream;)V
      client a Lki;a(Ljava/io/DataInputStream;)V
      named read Lnet/minecraft/network/packet/Packet;read(Ljava/io/DataInputStream;)V
    • write

      public void write(DataOutputStream stream)
      Specified by:
      write in class Packet
      Mappings:
      Namespace Name Mixin selector
      intermediary method_807 Lnet/minecraft/class_169;method_807(Ljava/io/DataOutputStream;)V
      glue method_3 Lclass_257;method_3(Ljava/io/DataOutputStream;)V
      server a Lgt;a(Ljava/io/DataOutputStream;)V
      client a Lki;a(Ljava/io/DataOutputStream;)V
      named write Lnet/minecraft/network/packet/Packet;write(Ljava/io/DataOutputStream;)V
    • apply

      public void apply(NetworkHandler networkHandler)
      Specified by:
      apply in class Packet
      Mappings:
      Namespace Name Mixin selector
      intermediary method_808 Lnet/minecraft/class_169;method_808(Lnet/minecraft/class_240;)V
      glue method_4 Lclass_257;method_4(Lclass_472;)V
      server a Lgt;a(Lme;)V
      client a Lki;a(Lti;)V
      named apply Lnet/minecraft/network/packet/Packet;apply(Lnet/minecraft/network/NetworkHandler;)V
    • size

      public int size()
      Specified by:
      size in class Packet
      Mappings:
      Namespace Name Mixin selector
      intermediary method_798 Lnet/minecraft/class_169;method_798()I
      glue method_1 Lclass_257;method_1()I
      server a Lgt;a()I
      client a Lki;a()I
      named size Lnet/minecraft/network/packet/Packet;size()I