Add cooking pot from farmer's delight !

This commit is contained in:
2026-09-27 01:08:50 -03:00
parent 52587aabf7
commit e4c9a2f7f4
43 changed files with 913 additions and 10 deletions
+7
View File
@@ -13,6 +13,13 @@
},
"drops": "bworld:furnace",
"interactive": true,
"states": [
{
"name": "lit",
"bits": 1,
"default": 0
}
],
"components": {
"bworld:furnace": {}
}
+7
View File
@@ -0,0 +1,7 @@
{
"format_version": 1,
"item": {
"id": "bworld:bowl",
"texture": "bworld:bowl"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"format_version": 1,
"recipe": {
"type": "shaped",
"pattern": [
"P P",
" P "
],
"key": {
"P": "bworld:planks"
},
"result": {
"id": "bworld:bowl",
"count": 4
}
}
}
+6
View File
@@ -191,6 +191,12 @@ function register_furnace(ctx: ServerContext) {
}
}
// burning, so it heats what's on top, like farmer's delight's cooking pot
const lit = data.fuel > 0 ? 1 : 0;
if (ctx.world.get_state(block.x, block.y, block.z, "lit") !== lit) {
ctx.world.set_state(block.x, block.y, block.z, "lit", lit);
}
for (const screen of viewers.get(key(block)) ?? []) show(screen, data);
},
});
Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B