Make it run

This commit is contained in:
DBotThePony 2023-01-13 19:20:14 +07:00
parent 299ca05029
commit 8a68bc9bd8
Signed by: DBot
GPG Key ID: DCC23B5715498507
2 changed files with 8 additions and 1 deletions

View File

@ -40,6 +40,10 @@ open class BatteryBankProvider(event: GatherDataEvent) : BlockStateProvider(even
} }
} }
} }
override fun getName(): String {
return "Battery Bank Model Provider"
}
} }
class MatterBankProvider(event: GatherDataEvent) : BatteryBankProvider(event) { class MatterBankProvider(event: GatherDataEvent) : BatteryBankProvider(event) {
@ -48,4 +52,8 @@ class MatterBankProvider(event: GatherDataEvent) : BatteryBankProvider(event) {
batteryPath = "block/battery/matter_capacitor" batteryPath = "block/battery/matter_capacitor"
registry = MBlocks.MATTER_CAPACITOR_BANK registry = MBlocks.MATTER_CAPACITOR_BANK
} }
override fun getName(): String {
return "Matter Bank Model Provider"
}
} }

View File

@ -227,7 +227,6 @@ object MRegistry {
bus.addListener(this::initializeClient) bus.addListener(this::initializeClient)
bus.addListener(this::initializeCommon) bus.addListener(this::initializeCommon)
bus.addListener(MStats::registerVanilla) bus.addListener(MStats::registerVanilla)
bus.addListener(MCreativeTabs::register)
MBlocks.register(bus) MBlocks.register(bus)
MBlockEntities.register(bus) MBlockEntities.register(bus)