From 82250164caa47421fe4cadbca1a9366bd43a54ab Mon Sep 17 00:00:00 2001 From: SysAdmin Date: Fri, 24 Apr 2026 02:06:18 +0100 Subject: [PATCH] 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) --- .../camping_supplies_BP/items/hammock.json | 4 +--- .../camping_supplies_BP/items/tent.json | 4 +--- .../textures/items/hammock.png | Bin 211 -> 218 bytes .../camping_supplies_RP/textures/items/tent.png | Bin 180 -> 199 bytes 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/camping-supplies-addon/camping_supplies_BP/items/hammock.json b/camping-supplies-addon/camping_supplies_BP/items/hammock.json index a8d0e44..d5bbb2d 100644 --- a/camping-supplies-addon/camping_supplies_BP/items/hammock.json +++ b/camping-supplies-addon/camping_supplies_BP/items/hammock.json @@ -10,9 +10,7 @@ }, "components": { "minecraft:max_stack_size": 16, - "minecraft:icon": { - "texture": "hammock_item" - }, + "minecraft:icon": "hammock_item", "minecraft:hand_equipped": true } } diff --git a/camping-supplies-addon/camping_supplies_BP/items/tent.json b/camping-supplies-addon/camping_supplies_BP/items/tent.json index b1351f1..edaa375 100644 --- a/camping-supplies-addon/camping_supplies_BP/items/tent.json +++ b/camping-supplies-addon/camping_supplies_BP/items/tent.json @@ -10,9 +10,7 @@ }, "components": { "minecraft:max_stack_size": 16, - "minecraft:icon": { - "texture": "tent_item" - }, + "minecraft:icon": "tent_item", "minecraft:hand_equipped": true } } diff --git a/camping-supplies-addon/camping_supplies_RP/textures/items/hammock.png b/camping-supplies-addon/camping_supplies_RP/textures/items/hammock.png index d42ffc809b4c34e5b8781be10e9a3788e5cbde85..99978637b4174bb19892fcb713566273200b62eb 100644 GIT binary patch delta 190 zcmcc2c#Cm@O8r7l7srr_ImrnNM0ULN`nTLgUwA2BLQ+CP!U=8zrJJG}RVO~O`S6$S zX?Uo@#IQOlXiwvsX;pDR`Ggypd43l}^L9=8-@WsR0q>2{pO%lGn&(TD&6@qczV^96 zSaaNc%Rl>Pc=tX0G~4_}Y(UX>J+OjvbFJCUIcD0GzmqXP4ASBC?p~_Oi|ul$Pybto p`~KBZI?&pnWEV=L{Htz|+;wWt~$(69BfZR#yN3 delta 183 zcmcb`c$sm6O8qQP7srr_ImrnUb_(aCzuQ}8&0O)UNjSQyql__ZYvsLN|2qwz9GN!n zzs24K3l<$LNb)}aU)+3Kg6Rv8V7^t@;*Nz93JV_|<_O+!^q5TEg>LESfB72?|F2)L zs4-E)P2rb}zu&oCN-(z=|`yxlaoHjJ3CKWsD6}f zxpo1VfB)=Rj#mFIj4x(=lx#|5&^x<>C(&v8k>!%J6@5-L-7vZCd#m-jK+{DJ4uglA z=QcJrKD;-B!7EJL_t(|oMT`Z{y@V<`9D5+CPJEZ?6mP3g4Y0I08Rs7wx8N@ zfdQW@XyXE8+ePF=@VWxS0GMWM0GlDy^#VTIak&Dg3t;|dU|@iU12(|Oz`(!|<*4!h z-0$Bg65qc4#!$?~#frkeapW!|oFgYEhd0Th15(xF1OQ$iFA*^}zaa4d0000