类 MinecraftForge

java.lang.Object
net.minecraftforge.common.MinecraftForge

public class MinecraftForge extends Object
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final net.minecraftforge.eventbus.api.IEventBus
    The core Forge EventBusses, all events for Forge will be fired on these, you should use this to register all your listeners.
    private static final org.apache.logging.log4j.Marker
     
    (专用程序包) static final ForgeInternalHandler
     
    private static final org.apache.logging.log4j.Logger
     
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static void
    Method invoked by FML before any other mods are loaded.

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • 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
    • INTERNAL_HANDLER

      static final ForgeInternalHandler INTERNAL_HANDLER
    • LOGGER

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

      private static final org.apache.logging.log4j.Marker FORGE
  • 构造器详细资料

    • MinecraftForge

      public MinecraftForge()
  • 方法详细资料

    • initialize

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