Straille Posted November 8, 2025 Report Posted November 8, 2025 (edited) i came across a ruin with beds i would love to use, but of course they're just decorative clutter so after a short search, i found this mod, but i don't want to have to make the beds myself someone did comment to say they had edited the recipes to take the clutter item, but since they didn't post that, i'm trying to do it myself however, i can't figure out how to get the code i need because clutter is all just one thing somehow how would one go about using a clutter item in a recipe? something like this example command from the wiki? /giveblock clutter{type: "barrel-metal1"} i'm stumped maybe it's something obvious, but i don't code edit: for example, like this? { "ingredientPattern": "B", "ingredients": { "B": { "type": "block", "code": "game:clutter{type:'bed-short-old'}", "quantity": 1 }, }, "width": 1, "height": 1, "output": { "type": "block", "code": "liberatedbeds:bedshortopengreen-bedshortopengreen-head-north", "quantity": 1 } } i've tried a bunch of things and at this point i don't want to keep zipping it and reopening the game just to find out it's wrong, lolllll Edited November 8, 2025 by Straille
xXx_Ape_xXx Posted November 9, 2025 Report Posted November 9, 2025 You're not addressing the attributes correctly. Try this: { "ingredientPattern": "B", "ingredients": { "B": { "type": "block", "code": "game:clutter", "attributes": {type: "bed-short-old", "collected": true}, "quantity": 1 }, }, "width": 1, "height": 1, "shapeless": true, "output": { "type": "block", "code": "liberatedbeds:bedshortopengreen-bedshortopengreen-head-north", "quantity": 1 } }
Straille Posted November 9, 2025 Author Report Posted November 9, 2025 the game is no longer yelling at me, but the recipe still doesn't work i did notice while picking up the beds that they're classified as stone, dunno if that's relevant do i have to add the directions like the "-head-north" in the output(which i copied from the mod's recipe)? i'll try that
xXx_Ape_xXx Posted November 9, 2025 Report Posted November 9, 2025 (edited) It depends on your custom block and if it has variants for each cardinal direction? Like, is this the correct key for your block? bedshortopengreen-bedshortopengreen-head-north It's hard to know without seeing your full json for the block. Edited November 9, 2025 by xXx_Ape_xXx
Straille Posted November 9, 2025 Author Report Posted November 9, 2025 (edited) it's working now, thanks i hadn't thought to check the recipe in the handbook until now it was working, but you specified "collected" which meant using glue to fix it, but i have clutter set to be collectable always Edited November 9, 2025 by Straille
Recommended Posts