Blocks with sides !

This commit is contained in:
2026-03-14 19:56:12 -03:00
parent ea6a6acfbe
commit 5e7719207f
18 changed files with 334 additions and 160 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { BlockRegistry, EverythingRegistry } from "$/common/everything_registry.
import { PlayerComponent } from "../player.ts";
EverythingRegistry.register<BlockRegistry>("blocks", "bworld:grass", {
texture_id: "bworld:grass",
textures: { top: "bworld:grass_top", bottom: "bworld:dirt", "side": "bworld:grass_side" },
has_collision: false,
on_interact(world, tile) {