0x10 C10PacketCreativeInventoryAction

Player sets the contents of a slot in creative mode. Used to spawn items or modify inventory contents directly.

Serverbound (Client → Server) · PLAY · net/minecraft/network/play/client/C10PacketCreativeInventoryAction.java
playerinventorycreativeitem

Fields

FieldTypeDescription
slotIdshortSlot index (-1 for cursor, 0-44 for inventory, 100-104 for armor)
stackItemStackItemStack to place (null = clear slot)

Wire Encoding

FieldTypeNotes
Slotshort-1=cursor, 0-44=inv, 100-104=armor
Clicked ItemSlotItemStack or null

MCP References

MCPNetHandlerPlayServer.processCreativeInventoryAction()

Handler Interface

HNDINetHandlerPlayServer

Notes

Only processed by the server if the player is in creative mode (gamemode=1). Ignored silently in survival. Can set ANY slot including armor (100-104) and offhand slots. No known hacked client modules directly target this packet — it's used by vanilla creative mode mechanics. Gugustus has a CreativeGive command that constructs C10 via addToSendQueue.

implementation Implementation Cases

CreativeFly

Drop/set items in creative mode. Used by creative-mode exploits.

Vanilla hook: EventSendPacket
CreativeGive

Drop/set items in creative mode. Used by creative-mode exploits.

Vanilla hook: EventSendPacket
← Back to all packets