Package net.minecraft

Class class_2920

java.lang.Object
net.minecraft.class_2920
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class class_2920 extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official mb
intermediary net/minecraft/class_2920
named net/minecraft/class_2920
  • Field Details

    • field_13815

      private Hand field_13815
      Mappings:
      Namespace Name Mixin selector
      official a Lmb;a:Lub;
      intermediary field_13815 Lnet/minecraft/class_2920;field_13815:Lnet/minecraft/class_2961;
      named field_13815 Lnet/minecraft/class_2920;field_13815:Lnet/minecraft/util/Hand;
  • Constructor Details

    • class_2920

      public class_2920()
    • class_2920

      public class_2920(Hand hand)
  • Method Details

    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      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<ServerPlayPacketListener>
      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(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lmb;a(Lkx;)V
      intermediary method_12711 Lnet/minecraft/class_2920;method_12711(Lnet/minecraft/class_2050;)V
      named apply Lnet/minecraft/class_2920;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • method_12710

      public Hand method_12710()
      Mappings:
      Namespace Name Mixin selector
      official a Lmb;a()Lub;
      intermediary method_12710 Lnet/minecraft/class_2920;method_12710()Lnet/minecraft/class_2961;
      named method_12710 Lnet/minecraft/class_2920;method_12710()Lnet/minecraft/util/Hand;