Class ScreenHandlerSlotUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ScreenHandlerSlotUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class ScreenHandlerSlotUpdateS2CPacket
extends Object
implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official xs
intermediary net/minecraft/class_2653
named net/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final ItemStack
private final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionScreenHandlerSlotUpdateS2CPacket
(int syncId, int revision, int slot, ItemStack stack) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
int
getSlot()
getStack()
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.Packet
getNewNetworkState, isWritingErrorSkippable
-
Field Details
-
UPDATE_CURSOR_SYNC_ID
public static final int UPDATE_CURSOR_SYNC_ID- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lxs;a:I
intermediary field_33324
Lnet/minecraft/class_2653;field_33324:I
named UPDATE_CURSOR_SYNC_ID
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;UPDATE_CURSOR_SYNC_ID:I
-
UPDATE_PLAYER_INVENTORY_SYNC_ID
public static final int UPDATE_PLAYER_INVENTORY_SYNC_ID- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lxs;b:I
intermediary field_33325
Lnet/minecraft/class_2653;field_33325:I
named UPDATE_PLAYER_INVENTORY_SYNC_ID
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;UPDATE_PLAYER_INVENTORY_SYNC_ID:I
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector official c
Lxs;c:I
intermediary field_12152
Lnet/minecraft/class_2653;field_12152:I
named syncId
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;syncId:I
-
revision
private final int revision- Mappings:
Namespace Name Mixin selector official d
Lxs;d:I
intermediary field_34036
Lnet/minecraft/class_2653;field_34036:I
named revision
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;revision:I
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector official e
Lxs;e:I
intermediary field_12151
Lnet/minecraft/class_2653;field_12151:I
named slot
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;slot:I
-
stack
- Mappings:
Namespace Name Mixin selector official f
Lxs;f:Lcjf;
intermediary field_12153
Lnet/minecraft/class_2653;field_12153:Lnet/minecraft/class_1799;
named stack
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;stack:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
ScreenHandlerSlotUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lxs;<init>(IIILcjf;)V
intermediary <init>
Lnet/minecraft/class_2653;<init>(IIILnet/minecraft/class_1799;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;<init>(IIILnet/minecraft/item/ItemStack;)V
-
ScreenHandlerSlotUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lxs;<init>(Lso;)V
intermediary <init>
Lnet/minecraft/class_2653;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvd;a(Lso;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lxs;a(Lww;)V
intermediary method_11451
Lnet/minecraft/class_2653;method_11451(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector official a
Lxs;a()I
intermediary method_11452
Lnet/minecraft/class_2653;method_11452()I
named getSyncId
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;getSyncId()I
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official d
Lxs;d()I
intermediary method_11450
Lnet/minecraft/class_2653;method_11450()I
named getSlot
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;getSlot()I
-
getStack
- Mappings:
Namespace Name Mixin selector official e
Lxs;e()Lcjf;
intermediary method_11449
Lnet/minecraft/class_2653;method_11449()Lnet/minecraft/class_1799;
named getStack
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;getStack()Lnet/minecraft/item/ItemStack;
-
getRevision
public int getRevision()- Mappings:
Namespace Name Mixin selector official f
Lxs;f()I
intermediary method_37439
Lnet/minecraft/class_2653;method_37439()I
named getRevision
Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;getRevision()I
-