net.minecraft.network.protocol.game

public class ClientboundContainerSetContentPacket

implements Packet<ClientGamePacketListener>

acp
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
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundContainerSetContentPacket>
a
STREAM_CODEC
field_47916
CODEC
f_315707_
private final int
b
containerId
field_12146
syncId
f_131942_
private final int
c
stateId
field_34034
revision
f_182701_
private final List<ItemStack>
d
items
field_12147
contents
f_131943_
private final ItemStack
e
carriedItem
field_34035
cursorStack
f_182702_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(wk arg0)
write(RegistryFriendlyByteBuf arg0)
method_55869(class_9129 arg0)
write(RegistryByteBuf buf)
m_131955_(C_313350_ arg0)
public PacketType<ClientboundContainerSetContentPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11439(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getContainerId()
method_11440()
getSyncId()
m_131954_()
public List<ItemStack>
e()
getItems()
method_11441()
getContents()
m_131957_()
public ItemStack
f()
getCarriedItem()
method_37437()
getCursorStack()
m_182708_()
public int
g()
getStateId()
method_37438()
getRevision()
m_182709_()