Class CommonLoader

java.lang.Object
de.cech12.brickfurnace.CommonLoader

public class CommonLoader extends Object
A static class for all loaders which initializes everything which is used by all loaders.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Initialize method that should be called by every loader mod in the constructor.
    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.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.