All Classes and Interfaces
Class
Description
This class takes care of dependency injection for API events.
Deprecated.
A list of helper methods to make code easier to read.
Returns the object passed in, doesn't do any conversion.
Attempts to delete a given file path repeatedly until the file is unlocked.
This class takes care of tracking objects used in dependency injection.
This is the masthead of the API, almost everything you could want to do
can be achieved from here.
WARNING:
All objects in this class will be null until after DH initializes for the first time.
Fired after Distant Horizons finishes running its setup.
Fired after Distant Horizons finishes rendering a frame.
Fired before DH runs its apply shader.
Called before Distant Horizons starts rendering a buffer.
Called before Distant Horizons starts rendering the deferred rendering pass.
Fired before Distant Horizons starts running its mod loader setup.
Called before Distant Horizons starts rendering a generic object.
Called before Distant Horizons starts the cleanup process done after rendering generic objects.
Called before Distant Horizons has started setting up OpenGL objects for rendering generic objects.
Called before Distant Horizons starts the cleanup process done after rendering.
Called before Distant Horizons starts rendering a frame.
Called immediately before Distant Horizons starts a rendering pass.
Called before Distant Horizons has started setting up OpenGL objects for rendering.
Called during Distant Horizons rendering setup and immediately
before the render textures are cleared.
before the render textures are cleared.
Extension of
DhApiEventParam
that allows the event to be canceled.Contains a list of
DhApiTerrainDataPoint
representing the blocks in a Minecraft chunk.Fired whenever Distant Horizons has been notified
that a Minecraft chunk has been modified.
Called whenever Distant Horizons (re)creates
the color and depth textures it renders to.
A wrapper used to interface with Distant Horizon's Config.
Wraps the event parameter to allow for additional control over the event
Handles adding/removing event handlers.
Called after Distant Horizons finishes loading a new level.
Called after Distant Horizons has finished unloading a level.
An (almost) exact copy of Minecraft's 1.16.5
implementation of a 4x4 float matrix.
Holds a single datapoint of terrain data
and the block position from the raycast.
Contains information relevant to Distant Horizons and Minecraft rendering.
Allows for more descriptive non-critical failure states.
Holds a single datapoint of terrain data.
Often used to store block positions or any other
position in 3D space.
Often used to store block positions or any other
position in 3D space.
Often used to store block positions or any other
position in 3D space.
Handles adding world generator overrides.
Called after Distant Horizons finishes loading a new world.
Called after Distant Horizons has finished unloading a world.
Add this annotation to enum values that
are valid config options, but shouldn't be selectable
when toggling through the options.
contains the indices used by shaders to determine
how different block types should be rendered.
NONE,
NON_COLLIDING,
NON_COLLIDING,
UNCOMPRESSED
LZ4
XZ
Note: speed and compression ratios are examples and should only be used for estimated comparisons.
LZ4
XZ
Note: speed and compression ratios are examples and should only be used for estimated comparisons.
OFF,
SHOW_DETAIL,
SHOW_GENMODE,
SHOW_OVERLAPPING_QUADS,
SHOW_RENDER_SOURCE_FLAG,
SHOW_DETAIL,
SHOW_GENMODE,
SHOW_OVERLAPPING_QUADS,
SHOW_RENDER_SOURCE_FLAG,
BLOCK - Detail Level: 0, width 1 block,
CHUNK - Detail Level: 4, width 16 block,
REGION - Detail Level: 9, width 512 block
Detail levels in Distant Horizons represent how large a LOD is, with the smallest being 0 (1 block wide).
CHUNK - Detail Level: 4, width 16 block,
REGION - Detail Level: 9, width 512 block
Detail levels in Distant Horizons represent how large a LOD is, with the smallest being 0 (1 block wide).
PRE_EXISTING_ONLY
SURFACE
FEATURES
FULL
In order of fastest to slowest.
SURFACE
FEATURES
FULL
In order of fastest to slowest.
OVERLAY
CHAT
LOG
DISABLED
CHAT
LOG
DISABLED
USE_DEFAULT_FOG_COLOR,
USE_SKY_COLOR,
USE_SKY_COLOR,
Deprecated.
LINEAR,
EXPONENTIAL,
EXPONENTIAL_SQUARED
EXPONENTIAL,
EXPONENTIAL_SQUARED
AUTO,
BUFFER_STORAGE,
SUB_DATA,
DATA
BUFFER_STORAGE,
SUB_DATA,
DATA
AS_GRASS
FADE_TO_DIRT
AS_DIRT
FADE_TO_DIRT
AS_DIRT
ABOVE_CAMERA,
BELOW_CAMERA,
ABOVE_AND_BELOW_CAMERA,
ABOVE_SET_HEIGHT,
BELOW_SET_HEIGHT,
ABOVE_AND_BELOW_SET_HEIGHT,
BELOW_CAMERA,
ABOVE_AND_BELOW_CAMERA,
ABOVE_SET_HEIGHT,
BELOW_SET_HEIGHT,
ABOVE_AND_BELOW_SET_HEIGHT,
SPHERICAL
CYLINDRICAL
MAX
ADDITION
MULTIPLY
INVERSE_MULTIPLY
LIMITED_ADDITION
MULTIPLY_ADDITION
INVERSE_MULTIPLY_ADDITION
AVERAGE
CYLINDRICAL
MAX
ADDITION
MULTIPLY
INVERSE_MULTIPLY
LIMITED_ADDITION
MULTIPLY_ADDITION
INVERSE_MULTIPLY_ADDITION
AVERAGE
LOWEST
LOW
MEDIUM
HIGH
EXTREME
LOW
MEDIUM
HIGH
EXTREME
SERVER_LEVEL,
CLIENT_LEVEL,
UNKNOWN
CLIENT_LEVEL,
UNKNOWN
AUTO
ENABLED
DISABLED
ENABLED
DISABLED
BLOCK
TWO_BLOCKS
FOUR_BLOCKS
HALF_CHUNK
CHUNK
TWO_BLOCKS
FOUR_BLOCKS
HALF_CHUNK
CHUNK
Handles how Minecraft's rendering
is faded out to smooth the transition
between MC and DH rendering.
CUSTOM,
MINIMUM,
LOW,
MEDIUM,
HIGH,
EXTREME,
MINIMUM,
LOW,
MEDIUM,
HIGH,
EXTREME,
Default
Debug
Disabled
Debug
Disabled
OPAQUE_AND_TRANSPARENT,
OPAQUE,
TRANSPARENT,
OPAQUE,
TRANSPARENT,
NAME_ONLY,
IP_ONLY,
NAME_IP,
NAME_IP_PORT,
NAME_IP_PORT_MC_VERSION,
Determines how the multiplayer folders should be named.
IP_ONLY,
NAME_IP,
NAME_IP_PORT,
NAME_IP_PORT_MC_VERSION,
Determines how the multiplayer folders should be named.
CUSTOM,
MINIMAL_IMPACT,
LOW_IMPACT,
BALANCED,
AGGRESSIVE,
MINIMAL_IMPACT,
LOW_IMPACT,
BALANCED,
AGGRESSIVE,
DISABLED,
FAKE,
COMPLETE,
FAKE,
COMPLETE,
AUTO,
STABLE,
NIGHTLY,
STABLE,
NIGHTLY,
Deprecated.
HEIGHT_MAP
LOW
MEDIUM
HIGH
VERY_HIGH
EXTREME
PIXEL_ART
LOW
MEDIUM
HIGH
VERY_HIGH
EXTREME
PIXEL_ART
MERGE_SAME_BLOCKS
VISUALLY_EQUAL
VISUALLY_EQUAL
DOWN_SAMPLED,
EMPTY,
STRUCTURE_START,
STRUCTURE_REFERENCE,
BIOMES,
NOISE,
SURFACE,
CARVERS,
LIQUID_CARVERS,
FEATURES,
LIGHT,
EMPTY,
STRUCTURE_START,
STRUCTURE_REFERENCE,
BIOMES,
NOISE,
SURFACE,
CARVERS,
LIQUID_CARVERS,
FEATURES,
LIGHT,
VANILLA_CHUNKS,
API_CHUNKS
API_DATA_SOURCES
API_CHUNKS
API_DATA_SOURCES
Necessary for all singletons that can be dependency injected.
Use for making the config variables
Interface used for converting Core and API objects.
Distant Horizons' fog configuration.
A Minecraft version independent way of handling Biomes.
A Minecraft version independent way of handling Blocks.
If a
IDhApiEvent
implements this interface than the event
can be canceled via the DhApiCancelableEventParam.cancelEvent()
method.This interfaces holds all config groups
the API has access to for easy access.
This interface is just used to organize API config groups so
they can be more easily handled together.
An interface for Distant Horizon's Config.
Used for objects that need deep clones.
Used to determine if a LOD should be rendered or is outside the
user's field of view.
Handles creating
IDhApiRenderableBoxGroup
objects,
which can be added via a IDhApiCustomRenderRegister
.Handles adding and removing
IDhApiRenderableBoxGroup
objects,
from DH's renderer.Distant Horizons' debug configuration.
The interface used by all DH Api events.
This class takes care of dependency injection for API events.
Distant Horizons' fog configuration.
Distant Horizons' fog configuration.
Represents a single full LOD backed by Distant Horizons' ID system.
Distant Horizons' generic rendering configuration.
Distant Horizons' graphics/rendering configuration.
Distant Horizons' fog configuration.
Can be either a Server or Client level.
A level is equivalent to a dimension in vanilla Minecraft.
A level is equivalent to a dimension in vanilla Minecraft.
Distant Horizons' logging configuration.
Distant Horizons' client-side multiplayer configuration.
Distant Horizons' threading configuration.
Distant Horizons' noise texture configuration.
If a
IDhApiEvent
implements this interface then the event will only ever be fired once.Implemented by all DhApi objects that can be overridden.
A list of
DhApiRenderableBox
's that
can be rendered to DH's terrain pass.Used to interact with Distant Horizons' rendering system.
Used to override which folder DH uses when loading a level.
The culling frustum used during Distant Horizons' shadow pass
if another mod has enabled Distant Horizons' shadow
pass via the API.
Can be used to drastically speed up repeat read operations in
IDhApiTerrainDataRepo
.Used to interface with Distant Horizons' terrain data.
Implemented by wrappers so developers can
access the underlying Minecraft object(s).
Distant Horizons' world generation configuration.
Handles adding world generator overrides.
Used to interact with Distant Horizons' current world.
This handles creating abstract wrapper objects.
Deprecated.
marked as deprecated since it isn't currently implemented
This file is similar to mcmod.info
and contains most meta-information related to Distant Horizons.
This class takes care of dependency injection for overridable objects.
Contains a list of overrides and their priorities.
Used for simplifying the fake chunk rendering on/off setting.
Miscellaneous string helper functions.
This class takes care of dependency injection for world generators.
EDhApiFogDrawMode.USE_OPTIFINE_SETTING
is no longer supported.