Class InventoryS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.InventoryS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
Represents the contents of a block or entity inventory being synchronized
from the server to the client.
- Mappings:
Namespace Name official qi
intermediary net/minecraft/class_2649
named net/minecraft/network/packet/s2c/play/InventoryS2CPacket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
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
isWritingErrorSkippable
-
Field Details
-
syncId
private final int syncIdTheScreenHandler.syncId
of a screen handler.- Mappings:
Namespace Name Mixin selector official a
Lqi;a:I
intermediary field_12146
Lnet/minecraft/class_2649;field_12146:I
named syncId
Lnet/minecraft/network/packet/s2c/play/InventoryS2CPacket;syncId:I
-
contents
- Mappings:
Namespace Name Mixin selector official b
Lqi;b:Ljava/util/List;
intermediary field_12147
Lnet/minecraft/class_2649;field_12147:Ljava/util/List;
named contents
Lnet/minecraft/network/packet/s2c/play/InventoryS2CPacket;contents:Ljava/util/List;
-
-
Constructor Details
-
InventoryS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lqi;<init>(ILgs;)V
intermediary <init>
Lnet/minecraft/class_2649;<init>(ILnet/minecraft/class_2371;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/InventoryS2CPacket;<init>(ILnet/minecraft/util/collection/DefaultedList;)V
-
InventoryS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lqi;<init>(Log;)V
intermediary <init>
Lnet/minecraft/class_2649;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/InventoryS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpk;a(Log;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lqi;a(Lpn;)V
intermediary method_11439
Lnet/minecraft/class_2649;method_11439(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/InventoryS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector official b
Lqi;b()I
intermediary method_11440
Lnet/minecraft/class_2649;method_11440()I
named getSyncId
Lnet/minecraft/network/packet/s2c/play/InventoryS2CPacket;getSyncId()I
-
getContents
- Mappings:
Namespace Name Mixin selector official c
Lqi;c()Ljava/util/List;
intermediary method_11441
Lnet/minecraft/class_2649;method_11441()Ljava/util/List;
named getContents
Lnet/minecraft/network/packet/s2c/play/InventoryS2CPacket;getContents()Ljava/util/List;
-