Add a bunch of crops and farmer's delight crops

This commit is contained in:
2026-09-26 21:35:17 -03:00
parent 8d9c85d379
commit 7e5bcaa239
77 changed files with 980 additions and 81 deletions
+5
View File
@@ -345,6 +345,11 @@ export class ModRuntime {
game().set_block(x, y, z, id);
return true;
},
break_block: (x, y, z) => {
if (game().world.get_block_id(x, y, z) === AIR_ID) return false;
game().destroy_block(x, y, z);
return true;
},
get_state: (x, y, z, name) => {
const id = game().world.get_block_id(x, y, z);
if (id === AIR_ID) return undefined;