refactor(localization): switch block translations to item naming

Remove the `name_key` field from block definitions and use item-based
localization keys (`item.*.name`) for inventory display. Item data now
stores the localized name at load time.
This commit is contained in:
2026-08-05 15:42:53 +08:00
parent 277aab1b81
commit 322fb2fea0
19 changed files with 44 additions and 58 deletions

View File

@@ -8,5 +8,4 @@ is_passable = false
is_transitional = true
is_transparent = false
name = 'sand'
name_key = 'block.sand'
roughness = 0.80000000000000004