net.minecraft.network.protocol.game

public class ClientboundContainerSetContentPacket

implements Packet<ClientGamePacketListener>

adm
net.minecraft.network.protocol.game.ClientboundContainerSetContentPacket
net.minecraft.class_2649
net.minecraft.network.packet.s2c.play.InventoryS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutWindowItems

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundContainerSetContentPacket>
a
STREAM_CODEC
field_47916
CODEC
private final int
b
containerId
field_12146
syncId
private final int
c
stateId
field_34034
revision
private final List<ItemStack>
d
items
field_12147
contents
private final ItemStack
e
carriedItem
field_34035
cursorStack

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(xg arg0)
write(RegistryFriendlyByteBuf arg0)
method_55869(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<ClientboundContainerSetContentPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11439(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getContainerId()
method_11440()
getSyncId()
public List<ItemStack>
e()
getItems()
method_11441()
getContents()
public ItemStack
f()
getCarriedItem()
method_37437()
getCursorStack()
public int
g()
getStateId()
method_37438()
getRevision()