Bad breaking blocks code (unfinished i need to work on something first

This commit is contained in:
2026-03-27 20:10:24 -03:00
parent d17d5185d6
commit 43b00b556e
21 changed files with 86 additions and 10 deletions
+3
View File
@@ -6,6 +6,9 @@ EverythingRegistry.register<BlockRegistry>("blocks", "bworld:grass", {
textures: { top: "bworld:grass_top", bottom: "bworld:dirt", "side": "bworld:grass_side" },
has_collision: false,
drop_table: "bworld:dirt",
toughness: 2,
requires_tool: false,
tool_to_break: "shovel",
on_interact(dimension, block) {
const [player] = dimension.world.get_tag("player")!;