13 lines
438 B
TypeScript
13 lines
438 B
TypeScript
import { BlockRegistry, EverythingRegistry } from "$/common/everything_registry.ts";
|
|
|
|
// hoeing it is handled in server/game/blocks.ts
|
|
EverythingRegistry.register<BlockRegistry>("blocks", "bworld:grass", {
|
|
id: "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",
|
|
});
|