Implement tags !

This commit is contained in:
2026-09-30 13:41:29 -03:00
parent dc70ada7c4
commit 342b45d593
51 changed files with 978 additions and 219 deletions
+4 -3
View File
@@ -135,10 +135,11 @@ export interface BlockRegistry {
interactive?: boolean;
// placing a block into it replaces it, like water
replaceable?: boolean;
// the blocks it can stand on, like crops on farmland. it can't be placed elsewhere, and breaks when the block
// under it becomes something else. anything when not set
// the blocks (ids or #tags) it can stand on, like crops on farmland. it can't be placed elsewhere, and breaks when
// the block under it becomes something else. anything when not set
place_on?: string[];
// the blocks it can be placed into, replacing them, like rice into water. air and replaceable blocks when not set
// the blocks (ids or #tags) it can be placed into, replacing them, like rice into water. air and replaceable blocks
// when not set
place_in?: string[];
// custom components from mods and their params, the server runs them
components?: Record<string, unknown>;