Class CommonLoader
java.lang.Object
de.cech12.brickfurnace.CommonLoader
A static class for all loaders which initializes everything which is used by all loaders.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit()Initialize method that should be called by every loader mod in the constructor.static voidinitPoiStates(Function<net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType>, Optional<net.minecraft.core.Holder.Reference<net.minecraft.world.entity.ai.village.poi.PoiType>>> poiTypeGetter) Initialize method that should be called by every loader mod when the mod blocks are registered.
-
Method Details
-
init
public static void init()Initialize method that should be called by every loader mod in the constructor. -
initPoiStates
public static void initPoiStates(Function<net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType>, Optional<net.minecraft.core.Holder.Reference<net.minecraft.world.entity.ai.village.poi.PoiType>>> poiTypeGetter) Initialize method that should be called by every loader mod when the mod blocks are registered.
-