Loot tables

This commit is contained in:
2026-10-08 00:54:45 -03:00
parent 757ee74bc7
commit ec2b53c02a
45 changed files with 1733 additions and 150 deletions
+2
View File
@@ -132,6 +132,8 @@ export interface BlockRegistry {
// the lowest tool tier it drops for when requires_tool, like minecraft's incorrect_for_*_tool tags. 0 when not set
tool_tier?: number;
drop_table?: string;
// what it drops when broken, see common/loot.ts. drop_table is one of an item instead
loot_table?: string;
states?: BlockStateDefinition[];
// a different model or textures for some states, by conditions like "age=7". the first match wins