Class MinecraftForge


  • public class MinecraftForge
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static net.minecraftforge.eventbus.api.IEventBus EVENT_BUS
      The core Forge EventBusses, all events for Forge will be fired on these, you should use this to register all your listeners.
      private static org.apache.logging.log4j.Marker FORGE  
      (package private) static ForgeInternalHandler INTERNAL_HANDLER  
      private static org.apache.logging.log4j.Logger LOGGER  
    • Constructor Summary

      Constructors 
      Constructor Description
      MinecraftForge()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void initialize()
      Method invoked by FML before any other mods are loaded.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EVENT_BUS

        public static final net.minecraftforge.eventbus.api.IEventBus EVENT_BUS
        The core Forge EventBusses, all events for Forge will be fired on these, you should use this to register all your listeners. This replaces every register*Handler() function in the old version of Forge. TERRAIN_GEN_BUS for terrain gen events ORE_GEN_BUS for ore gen events EVENT_BUS for everything else
      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • FORGE

        private static final org.apache.logging.log4j.Marker FORGE
    • Constructor Detail

      • MinecraftForge

        public MinecraftForge()
    • Method Detail

      • initialize

        public static void initialize()
        Method invoked by FML before any other mods are loaded.