net.minecraft.network.protocol.game

public class ClientboundContainerSetContentPacket

implements Packet<ClientGamePacketListener>

xq
net.minecraft.network.protocol.game.ClientboundContainerSetContentPacket
net.minecraft.class_2649
net.minecraft.network.packet.s2c.play.InventoryS2CPacket
net.minecraft.src.C_5056_
net.minecraft.network.protocol.game.PacketPlayOutWindowItems

Field summary

Modifier and TypeField
private final int
a
containerId
field_12146
syncId
f_131942_
private final int
b
stateId
field_34034
revision
f_182701_
private final List<ItemStack>
c
items
field_12147
contents
f_131943_
private final ItemStack
d
carriedItem
field_34035
cursorStack
f_182702_

Constructor summary

ModifierConstructor
public (int syncId, int revision, NonNullList<ItemStack> contents, ItemStack cursorStack)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ww arg0)
handle(ClientGamePacketListener arg0)
method_11439(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
a()
getContainerId()
method_11440()
getSyncId()
m_131954_()
public List<ItemStack>
d()
getItems()
method_11441()
getContents()
m_131957_()
public ItemStack
e()
getCarriedItem()
method_37437()
getCursorStack()
m_182708_()
public int
f()
getStateId()
method_37438()
getRevision()
m_182709_()