All Known Subinterfaces:
IDhApiAmbientOcclusionConfig, IDhApiCancelableEvent<T>, IDhApiConfigGroup, IDhApiCullingFrustum, IDhApiDebuggingConfig, IDhApiEvent<T>, IDhApiFarFogConfig, IDhApiFogConfig, IDhApiFramebuffer, IDhApiGenericObjectShaderProgram, IDhApiGenericRenderingConfig, IDhApiGraphicsConfig, IDhApiHeightFogConfig, IDhApiLoggingConfig, IDhApiMultiplayerConfig, IDhApiMultiThreadingConfig, IDhApiNoiseTextureConfig, IDhApiOneTimeEvent<T>, IDhApiOverrideable, IDhApiSaveStructure, IDhApiShaderProgram, IDhApiShadowCullingFrustum, IDhApiWorldGenerationConfig, IDhApiWorldGenerator, IDhServerMessageReceived<T>
All Known Implementing Classes:
AbstractDhApiChunkWorldGenerator, DhApiAfterDhInitEvent, DhApiAfterRenderEvent, DhApiBeforeApplyShaderRenderEvent, DhApiBeforeBufferRenderEvent, DhApiBeforeDeferredRenderEvent, DhApiBeforeDhInitEvent, DhApiBeforeGenericObjectRenderEvent, DhApiBeforeGenericRenderCleanupEvent, DhApiBeforeGenericRenderSetupEvent, DhApiBeforeRenderCleanupEvent, DhApiBeforeRenderEvent, DhApiBeforeRenderPassEvent, DhApiBeforeRenderSetupEvent, DhApiBeforeTextureClearEvent, DhApiChunkModifiedEvent, DhApiColorDepthTextureCreatedEvent, DhApiLevelLoadEvent, DhApiLevelUnloadEvent, DhApiWorldLoadEvent, DhApiWorldUnloadEvent, OverridePriorityListContainer

public interface IBindable
Necessary for all singletons that can be dependency injected.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Finish initializing this object.
    default boolean
    Returns if this dependency has been setup yet.
  • Method Details

    • finishDelayedSetup

      default void finishDelayedSetup()
      Finish initializing this object.

      Generally this should just be used for getting other objects through dependency injection and is specifically designed to allow for circular references.

      If no circular dependencies are required this method doesn't have to be implemented.
    • getDelayedSetupComplete

      default boolean getDelayedSetupComplete()
      Returns if this dependency has been setup yet.

      If this object doesn't require a delayed setup, this method doesn't have to be implemented and should always return true.