[GH-ISSUE #2979] Kicked from a server when moving items with custom components (prefilled shulker boxes) #766

Closed
opened 2026-11-02 15:41:45 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2979

🤖 Filed by Ludovic's AI agent (Claude) for a player's Discord report (Kira can't file issues since the move to horizon-rust)

Reported by e_0r on Discord (#horizon-bugs, "Kicked form Server becuase you move an item in the inv"), Horizon v0.2.91.

What they did: on a multiplayer server, moved items with heavy custom data (shulker boxes prefilled with items) around their inventory. The same items work on a Fabric client.
What happened: kicked from the server (the error was in a screenshot on Discord). The shulker boxes' tooltip also shows only the raw data, not the items inside.
Expected: moving the items works; the tooltip lists the box's contents.

Likely an item stack codec gap on a serverbound container click (the client re-encodes the carried/changed stacks), but not checked yet.

Originally created by @ludovic111 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2979 > 🤖 Filed by Ludovic's AI agent (Claude) for a player's Discord report (Kira can't file issues since the move to horizon-rust) **Reported by** e_0r on Discord (#horizon-bugs, "Kicked form Server becuase you move an item in the inv"), Horizon v0.2.91. **What they did:** on a multiplayer server, moved items with heavy custom data (shulker boxes prefilled with items) around their inventory. The same items work on a Fabric client. **What happened:** kicked from the server (the error was in a screenshot on Discord). The shulker boxes' tooltip also shows only the raw data, not the items inside. **Expected:** moving the items works; the tooltip lists the box's contents. Likely an item stack codec gap on a serverbound container click (the client re-encodes the carried/changed stacks), but not checked yet.
Author
Owner

@3r08r commented on GitHub (Oct 28, 2026):

Per request in the discord here is the nbt data of the shulker box used for testing:
{"minecraft:container":[{item:{components:{"minecraft:enchantments":{"minecraft:aqua_affinity":1,"minecraft:mending":1,"minecraft:protection":4,"minecraft:respiration":3,"minecraft:unbreaking":3}},id:"minecraft:netherite_helmet"},slot:0},{item:{components:{"minecraft:enchantments":{"minecraft:mending":1,"minecraft:protection":4,"minecraft:unbreaking":3}},id:"minecraft:netherite_chestplate"},slot:1},{item:{components:{"minecraft:enchantments":{"minecraft:mending":1,"minecraft:protection":4,"minecraft:swift_sneak":3,"minecraft:unbreaking":3}},id:"minecraft:netherite_leggings"},slot:2},{item:{components:{"minecraft:enchantments":{"minecraft:depth_strider":3,"minecraft:feather_falling":4,"minecraft:mending":1,"minecraft:protection":4,"minecraft:soul_speed":3,"minecraft:unbreaking":3}},id:"minecraft:netherite_boots"},slot:3},{item:{components:{"minecraft:enchantments":{"minecraft:fire_aspect":2,"minecraft:looting":3,"minecraft:mending":1,"minecraft:sharpness":5,"minecraft:sweeping_edge":3,"minecraft:unbreaking":3}},id:"minecraft:netherite_sword"},slot:4},{item:{components:{"minecraft:enchantments":{"minecraft:efficiency":5,"minecraft:fortune":3,"minecraft:mending":1,"minecraft:unbreaking":3}},id:"minecraft:netherite_pickaxe"},slot:5},{item:{components:{"minecraft:enchantments":{"minecraft:efficiency":5,"minecraft:fortune":3,"minecraft:mending":1,"minecraft:sharpness":5,"minecraft:unbreaking":3}},id:"minecraft:netherite_axe"},slot:6},{item:{components:{"minecraft:enchantments":{"minecraft:fire_aspect":2,"minecraft:looting":3,"minecraft:lunge":3,"minecraft:mending":1,"minecraft:sharpness":5,"minecraft:unbreaking":3}},id:"minecraft:netherite_spear"},slot:7},{item:{components:{"minecraft:enchantments":{"minecraft:breach":4,"minecraft:mending":1,"minecraft:unbreaking":3,"minecraft:wind_burst":2}},id:"minecraft:mace"},slot:8},{item:{components:{"minecraft:enchantments":{"minecraft:mending":1,"minecraft:unbreaking":3}},id:"minecraft:shield"},slot:9},{item:{components:{"minecraft:enchantments":{"minecraft:mending":1,"minecraft:unbreaking":3}},id:"minecraft:elytra"},slot:10},{item:{components:{"minecraft:enchantments":{"minecraft:aqua_affinity":1,"minecraft:mending":1,"minecraft:protection":4,"minecraft:respiration":3,"minecraft:unbreaking":3}},id:"minecraft:turtle_helmet"},slot:11},{item:{components:{"minecraft:enchantments":{"minecraft:efficiency":5,"minecraft:mending":1,"minecraft:silk_touch":1,"minecraft:unbreaking":3}},id:"minecraft:netherite_shovel"},slot:12},{item:{components:{"minecraft:enchantments":{"minecraft:density":5,"minecraft:mending":1,"minecraft:unbreaking":3,"minecraft:wind_burst":3}},id:"minecraft:mace"},slot:13},{item:{id:"minecraft:totem_of_undying"},slot:14},{item:{id:"minecraft:totem_of_undying"},slot:15},{item:{count:64,id:"minecraft:golden_apple"},slot:16},{item:{count:64,id:"minecraft:respawn_anchor"},slot:17},{item:{count:64,id:"minecraft:ender_chest"},slot:18},{item:{id:"minecraft:red_bed"},slot:19},{item:{count:64,id:"minecraft:golden_carrot"},slot:20},{item:{count:64,id:"minecraft:oak_log"},slot:21},{item:{count:64,id:"minecraft:diamond_block"},slot:22},{item:{count:64,id:"minecraft:gold_block"},slot:23},{item:{count:64,id:"minecraft:iron_block"},slot:24},{item:{count:64,id:"minecraft:redstone_block"},slot:25},{item:{count:64,id:"minecraft:netherite_block"},slot:26}],"minecraft:damage_resistant":{types:"#minecraft:is_fire"},"minecraft:enchantment_glint_override":1b,"minecraft:lore":[{extra:[{bold:1b,color:"#FFAA00",italic:0b,text:"Good Chest (Kit Vanilla)"}],text:""},{extra:[{color:"#AA0000",italic:0b,text:"Netherite",underlined:1b}],text:""}],"minecraft:rarity":"epic","minecraft:unbreakable":{}}

<!-- gh-comment-id:6472966944 --> @3r08r commented on GitHub (Oct 28, 2026): Per request in the discord here is the nbt data of the shulker box used for testing: `{"minecraft:container":[{item:{components:{"minecraft:enchantments":{"minecraft:aqua_affinity":1,"minecraft:mending":1,"minecraft:protection":4,"minecraft:respiration":3,"minecraft:unbreaking":3}},id:"minecraft:netherite_helmet"},slot:0},{item:{components:{"minecraft:enchantments":{"minecraft:mending":1,"minecraft:protection":4,"minecraft:unbreaking":3}},id:"minecraft:netherite_chestplate"},slot:1},{item:{components:{"minecraft:enchantments":{"minecraft:mending":1,"minecraft:protection":4,"minecraft:swift_sneak":3,"minecraft:unbreaking":3}},id:"minecraft:netherite_leggings"},slot:2},{item:{components:{"minecraft:enchantments":{"minecraft:depth_strider":3,"minecraft:feather_falling":4,"minecraft:mending":1,"minecraft:protection":4,"minecraft:soul_speed":3,"minecraft:unbreaking":3}},id:"minecraft:netherite_boots"},slot:3},{item:{components:{"minecraft:enchantments":{"minecraft:fire_aspect":2,"minecraft:looting":3,"minecraft:mending":1,"minecraft:sharpness":5,"minecraft:sweeping_edge":3,"minecraft:unbreaking":3}},id:"minecraft:netherite_sword"},slot:4},{item:{components:{"minecraft:enchantments":{"minecraft:efficiency":5,"minecraft:fortune":3,"minecraft:mending":1,"minecraft:unbreaking":3}},id:"minecraft:netherite_pickaxe"},slot:5},{item:{components:{"minecraft:enchantments":{"minecraft:efficiency":5,"minecraft:fortune":3,"minecraft:mending":1,"minecraft:sharpness":5,"minecraft:unbreaking":3}},id:"minecraft:netherite_axe"},slot:6},{item:{components:{"minecraft:enchantments":{"minecraft:fire_aspect":2,"minecraft:looting":3,"minecraft:lunge":3,"minecraft:mending":1,"minecraft:sharpness":5,"minecraft:unbreaking":3}},id:"minecraft:netherite_spear"},slot:7},{item:{components:{"minecraft:enchantments":{"minecraft:breach":4,"minecraft:mending":1,"minecraft:unbreaking":3,"minecraft:wind_burst":2}},id:"minecraft:mace"},slot:8},{item:{components:{"minecraft:enchantments":{"minecraft:mending":1,"minecraft:unbreaking":3}},id:"minecraft:shield"},slot:9},{item:{components:{"minecraft:enchantments":{"minecraft:mending":1,"minecraft:unbreaking":3}},id:"minecraft:elytra"},slot:10},{item:{components:{"minecraft:enchantments":{"minecraft:aqua_affinity":1,"minecraft:mending":1,"minecraft:protection":4,"minecraft:respiration":3,"minecraft:unbreaking":3}},id:"minecraft:turtle_helmet"},slot:11},{item:{components:{"minecraft:enchantments":{"minecraft:efficiency":5,"minecraft:mending":1,"minecraft:silk_touch":1,"minecraft:unbreaking":3}},id:"minecraft:netherite_shovel"},slot:12},{item:{components:{"minecraft:enchantments":{"minecraft:density":5,"minecraft:mending":1,"minecraft:unbreaking":3,"minecraft:wind_burst":3}},id:"minecraft:mace"},slot:13},{item:{id:"minecraft:totem_of_undying"},slot:14},{item:{id:"minecraft:totem_of_undying"},slot:15},{item:{count:64,id:"minecraft:golden_apple"},slot:16},{item:{count:64,id:"minecraft:respawn_anchor"},slot:17},{item:{count:64,id:"minecraft:ender_chest"},slot:18},{item:{id:"minecraft:red_bed"},slot:19},{item:{count:64,id:"minecraft:golden_carrot"},slot:20},{item:{count:64,id:"minecraft:oak_log"},slot:21},{item:{count:64,id:"minecraft:diamond_block"},slot:22},{item:{count:64,id:"minecraft:gold_block"},slot:23},{item:{count:64,id:"minecraft:iron_block"},slot:24},{item:{count:64,id:"minecraft:redstone_block"},slot:25},{item:{count:64,id:"minecraft:netherite_block"},slot:26}],"minecraft:damage_resistant":{types:"#minecraft:is_fire"},"minecraft:enchantment_glint_override":1b,"minecraft:lore":[{extra:[{bold:1b,color:"#FFAA00",italic:0b,text:"Good Chest (Kit Vanilla)"}],text:""},{extra:[{color:"#AA0000",italic:0b,text:"Netherite",underlined:1b}],text:""}],"minecraft:rarity":"epic","minecraft:unbreakable":{}}`
Author
Owner

@levzzz5154 commented on GitHub (Oct 29, 2026):

🤖 Agent: written by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 themselves.

Status on main:

  • Fixed by #2945: the kick when moving items with components in the creative inventory. set_creative_mode_slot now writes components length-prefixed, as vanilla does. A server stack's component patch is also kept, and a shulker box's tooltip lists its contents from minecraft:container.
  • Not confirmed: whether the report was in survival. There the packet is a container click, which #2945 doesn't touch. If the kick happens in survival on the next release, the kick message would pin it down.
<!-- gh-comment-id:6504499268 --> @levzzz5154 commented on GitHub (Oct 29, 2026): 🤖 Agent: written by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 themselves. Status on main: - **Fixed by #2945:** the kick when moving items with components in the **creative** inventory. `set_creative_mode_slot` now writes components length-prefixed, as vanilla does. A server stack's component patch is also kept, and a shulker box's tooltip lists its contents from `minecraft:container`. - **Not confirmed:** whether the report was in survival. There the packet is a container click, which #2945 doesn't touch. If the kick happens in survival on the next release, the kick message would pin it down.
Author
Owner

@rdbtCVS commented on GitHub (Oct 31, 2026):

🤖 Agent: Fixed on main by #2945 (fe3333f3f): creative slot packets now carry length-prefixed components, so moving items with custom components (prefilled shulker boxes) no longer gets you kicked, and the shulker contents tooltip is fixed. If you are still kicked on a current Nightly (in survival, for example), please reopen with the kick message.

<!-- gh-comment-id:6550607963 --> @rdbtCVS commented on GitHub (Oct 31, 2026): 🤖 Agent: Fixed on main by #2945 (`fe3333f3f`): creative slot packets now carry length-prefixed components, so moving items with custom components (prefilled shulker boxes) no longer gets you kicked, and the shulker contents tooltip is fixed. If you are still kicked on a current Nightly (in survival, for example), please reopen with the kick message.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#766
No description provided.