Class OpenWrittenBookS2CPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/OpenWrittenBookS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47944 Lnet/minecraft/class_3895;field_47944:Lnet/minecraft/class_9139;
      official a Ladq;a:Lyx;
    • hand

      private final Hand hand
      Mappings:
      Namespace Name Mixin selector
      named hand Lnet/minecraft/network/packet/s2c/play/OpenWrittenBookS2CPacket;hand:Lnet/minecraft/util/Hand;
      intermediary field_17199 Lnet/minecraft/class_3895;field_17199:Lnet/minecraft/class_1268;
      official b Ladq;b:Lbqq;
  • Constructor Details

    • OpenWrittenBookS2CPacket

      public OpenWrittenBookS2CPacket(Hand hand)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/OpenWrittenBookS2CPacket;<init>(Lnet/minecraft/util/Hand;)V
      intermediary <init> Lnet/minecraft/class_3895;<init>(Lnet/minecraft/class_1268;)V
      official <init> Ladq;<init>(Lbqq;)V
    • OpenWrittenBookS2CPacket

      private OpenWrittenBookS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/OpenWrittenBookS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_3895;<init>(Lnet/minecraft/class_2540;)V
      official <init> Ladq;<init>(Lvw;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/OpenWrittenBookS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55894 Lnet/minecraft/class_3895;method_55894(Lnet/minecraft/class_2540;)V
      official a Ladq;a(Lvw;)V
    • getPacketId

      public PacketType<OpenWrittenBookS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzg;a()Lzi;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/OpenWrittenBookS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_17187 Lnet/minecraft/class_3895;method_17187(Lnet/minecraft/class_2602;)V
      official a Ladq;a(Labu;)V
    • getHand

      public Hand getHand()
      Mappings:
      Namespace Name Mixin selector
      named getHand Lnet/minecraft/network/packet/s2c/play/OpenWrittenBookS2CPacket;getHand()Lnet/minecraft/util/Hand;
      intermediary method_17188 Lnet/minecraft/class_3895;method_17188()Lnet/minecraft/class_1268;
      official b Ladq;b()Lbqq;