Class DhApiBeforeDhInitEvent

java.lang.Object
com.seibel.distanthorizons.api.methods.events.abstractEvents.DhApiBeforeDhInitEvent
All Implemented Interfaces:
IDhApiEvent<Void>, IBindable

public abstract class DhApiBeforeDhInitEvent extends Object implements IDhApiEvent<Void>
Fired before Distant Horizons starts running its mod loader setup.
IE this is called before Forge's initClient/initServer or Fabric's init method.
Since:
API 1.0.0
  • Constructor Details

    • DhApiBeforeDhInitEvent

      public DhApiBeforeDhInitEvent()
  • Method Details

    • beforeDistantHorizonsInit

      public abstract void beforeDistantHorizonsInit(DhApiEventParam<Void> input)
      Fired before Distant Horizons starts its initial setup on Minecraft startup.
    • fireEvent

      public final void fireEvent(DhApiEventParam<Void> input)
      Description copied from interface: IDhApiEvent
      Called internally by Distant Horizons when the event happens. This method shouldn't directly be overridden and should call a more specific method instead.
      Specified by:
      fireEvent in interface IDhApiEvent<Void>
      Parameters:
      input - the parameter object passed in from the event source. Can be null.