package net.shadowfacts.extrahoppers import net.fabricmc.api.ModInitializer import net.fabricmc.fabric.api.container.ContainerFactory import net.fabricmc.fabric.api.container.ContainerProviderRegistry import net.shadowfacts.extrahoppers.block.wood.WoodHopperContainer 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() ContainerProviderRegistry.INSTANCE.registerFactory(WoodHopperContainer.ID, ContainerFactory(WoodHopperContainer.Companion::create)) } }