Class DhApi.Delayed

java.lang.Object
com.seibel.distanthorizons.api.DhApi.Delayed
Enclosing class:
DhApi

public static class DhApi.Delayed extends Object
WARNING: All objects in this class will be null until after DH initializes for the first time.

Bind a custom DhApiAfterDhInitEvent to ApiCoreInjectors.events in order to be notified when this class can be safely used.
Since:
API 1.0.0
  • Field Details

    • configs

      public static IDhApiConfig configs
      Used to interact with Distant Horizons' Configs.
      Since:
      API 1.0.0
    • terrainRepo

      public static IDhApiTerrainDataRepo terrainRepo
      Used to interact with Distant Horizons' terrain data. Designed to be used in conjunction with worldProxy.
      Since:
      API 1.0.0
    • worldProxy

      public static IDhApiWorldProxy worldProxy
      Used to interact with Distant Horizons' currently loaded world. Designed to be used in conjunction with terrainRepo.
      Since:
      API 1.0.0
    • renderProxy

      public static IDhApiRenderProxy renderProxy
      Used to interact with Distant Horizons' rendering system.
      Since:
      API 1.0.0
    • wrapperFactory

      public static IDhApiWrapperFactory wrapperFactory
      Used to create wrappers for Minecraft objects needed by other Distant Horizons API methods.
      Since:
      API 2.0.0
    • customRenderObjectFactory

      public static IDhApiCustomRenderObjectFactory customRenderObjectFactory
      Used to create custom renderable objects.
      These objects can be added to the renderer in IDhApiLevelWrapper
      Since:
      API 3.0.0
  • Constructor Details

    • Delayed

      public Delayed()