2020-03-28 00:00:48 +00:00
|
|
|
package net.shadowfacts.extrahoppers
|
|
|
|
|
|
|
|
import net.fabricmc.api.ModInitializer
|
2020-03-28 16:26:25 +00:00
|
|
|
import net.fabricmc.fabric.api.container.ContainerFactory
|
|
|
|
import net.fabricmc.fabric.api.container.ContainerProviderRegistry
|
2020-03-28 18:26:39 +00:00
|
|
|
import net.shadowfacts.extrahoppers.block.gold.GoldHopperContainer
|
2020-03-28 16:26:25 +00:00
|
|
|
import net.shadowfacts.extrahoppers.block.wood.WoodHopperContainer
|
2020-03-28 00:00:48 +00:00
|
|
|
import net.shadowfacts.extrahoppers.init.EHBlockEntities
|
|
|
|
import net.shadowfacts.extrahoppers.init.EHBlocks
|
|
|
|
import net.shadowfacts.extrahoppers.init.EHItems
|
|
|
|
|
|
|
|
object ExtraHoppers: ModInitializer {
|
|
|
|
|
|
|
|
override fun onInitialize() {
|
|
|
|
EHBlocks.init()
|
|
|
|
EHBlockEntities.init()
|
|
|
|
EHItems.init()
|
2020-03-28 16:26:25 +00:00
|
|
|
|
|
|
|
ContainerProviderRegistry.INSTANCE.registerFactory(WoodHopperContainer.ID, ContainerFactory(WoodHopperContainer.Companion::create))
|
2020-03-28 18:26:39 +00:00
|
|
|
ContainerProviderRegistry.INSTANCE.registerFactory(GoldHopperContainer.ID, ContainerFactory(GoldHopperContainer.Companion::create))
|
2020-03-28 00:00:48 +00:00
|
|
|
}
|
|
|
|
|
2020-03-28 16:26:25 +00:00
|
|
|
}
|