block models and stuff

This commit is contained in:
2026-04-15 20:57:59 +02:00
parent 61a1c52106
commit 462a6d1bdf
7 changed files with 137 additions and 63 deletions

View File

@@ -32,6 +32,7 @@ object Blocks {
fun registerBlockItems() {
BLOCKS.forEach(Consumer { sup: RegistrySupplier<Block> ->
NeoComputers.LOGGER.info(sup.id.toString())
val id = ResourceKey.create(Registries.ITEM, sup.id)
Items.ITEMS.register(sup.id.path) { BlockItem(sup.get()!!, Item.Properties().`arch$tab`(Tabs.TAB))}
})