Files
minecraft-aiworld/camping-supplies-addon/camping_supplies_BP/items/hammock.json
SysAdmin 82250164ca
All checks were successful
Deploy Addons / deploy (push) Successful in 14s
fix(camping): use plain-string minecraft:icon and redraw item icons
The nested {"texture": "..."} form for minecraft:icon is rejected by the
1.21.0 item schema (BDS warned: "this member was found in the input,
but is not present in the Schema"), so tent and hammock had no inventory
icons at all. Switched to the plain-string form used by every other
addon in the repo.

While here, replaced the placeholder PNGs (a flat green triangle and a
red squiggle) with proper 16x16 pixel art:
  - tent: A-frame canvas silhouette with doorway slit and ground line
  - hammock: side-view sling with rope ends rising off-screen and a
    sagging red-and-white striped fabric

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 02:06:18 +01:00

18 lines
386 B
JSON

{
"format_version": "1.21.0",
"minecraft:item": {
"description": {
"identifier": "silverlabs:hammock",
"menu_category": {
"category": "equipment",
"group": "itemGroup.name.miscellaneous"
}
},
"components": {
"minecraft:max_stack_size": 16,
"minecraft:icon": "hammock_item",
"minecraft:hand_equipped": true
}
}
}