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 aep
  • 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 Laep;a:Lzt;
    • 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 Laep;b:Lbth;
  • 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> Laep;<init>(Lbth;)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> Laep;<init>(Lws;)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 Laep;a(Lws;)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 Laac;a()Laae;
    • 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 Laep;a(Lacr;)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 Laep;b()Lbth;