Improve crops system

This commit is contained in:
2026-09-26 18:32:38 -03:00
parent e22f12c0b6
commit 0fa6ec4ed3
15 changed files with 394 additions and 31 deletions
+3
View File
@@ -129,6 +129,9 @@ 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
place_on?: string[];
// custom components from mods and their params, the server runs them
components?: Record<string, unknown>;