Class BookUpdateC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.BookUpdateC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official afj
intermediary net/minecraft/class_2820
named net/minecraft/network/packet/c2s/play/BookUpdateC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf,
BookUpdateC2SPacket> static final int
private static final int
private static final int
private static final int
private final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionBookUpdateC2SPacket
(int slot, List<String> pages, Optional<String> title) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) getPages()
int
getSlot()
getTitle()
private void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lafj;a:Lxo;
intermediary field_48193
Lnet/minecraft/class_2820;field_48193:Lnet/minecraft/class_9139;
named CODEC
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
field_34038
public static final int field_34038- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lafj;b:I
intermediary field_34038
Lnet/minecraft/class_2820;field_34038:I
named field_34038
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;field_34038:I
-
MAX_TITLE_LENGTH
private static final int MAX_TITLE_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lafj;c:I
intermediary field_34039
Lnet/minecraft/class_2820;field_34039:I
named MAX_TITLE_LENGTH
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;MAX_TITLE_LENGTH:I
-
MAX_PAGE_LENGTH
private static final int MAX_PAGE_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lafj;d:I
intermediary field_34040
Lnet/minecraft/class_2820;field_34040:I
named MAX_PAGE_LENGTH
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;MAX_PAGE_LENGTH:I
-
MAX_PAGES
private static final int MAX_PAGES- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lafj;e:I
intermediary field_34046
Lnet/minecraft/class_2820;field_34046:I
named MAX_PAGES
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;MAX_PAGES:I
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector official f
Lafj;f:I
intermediary field_26897
Lnet/minecraft/class_2820;field_26897:I
named slot
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;slot:I
-
pages
- Mappings:
Namespace Name Mixin selector official g
Lafj;g:Ljava/util/List;
intermediary field_34041
Lnet/minecraft/class_2820;field_34041:Ljava/util/List;
named pages
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;pages:Ljava/util/List;
-
title
- Mappings:
Namespace Name Mixin selector official h
Lafj;h:Ljava/util/Optional;
intermediary field_34042
Lnet/minecraft/class_2820;field_34042:Ljava/util/Optional;
named title
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;title:Ljava/util/Optional;
-
-
Constructor Details
-
BookUpdateC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lafj;<init>(ILjava/util/List;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_2820;<init>(ILjava/util/List;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;<init>(ILjava/util/List;Ljava/util/Optional;)V
-
BookUpdateC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lafj;<init>(Luq;)V
intermediary <init>
Lnet/minecraft/class_2820;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official a
Lafj;a(Luq;)V
intermediary method_55974
Lnet/minecraft/class_2820;method_55974(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lxx;a()Lxz;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lafj;a(Laes;)V
intermediary method_12236
Lnet/minecraft/class_2820;method_12236(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getPages
- Mappings:
Namespace Name Mixin selector official b
Lafj;b()Ljava/util/List;
intermediary method_37442
Lnet/minecraft/class_2820;method_37442()Ljava/util/List;
named getPages
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;getPages()Ljava/util/List;
-
getTitle
- Mappings:
Namespace Name Mixin selector official e
Lafj;e()Ljava/util/Optional;
intermediary method_37445
Lnet/minecraft/class_2820;method_37445()Ljava/util/Optional;
named getTitle
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;getTitle()Ljava/util/Optional;
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official f
Lafj;f()I
intermediary method_12235
Lnet/minecraft/class_2820;method_12235()I
named getSlot
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;getSlot()I
-