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

public abstract class DhApiAfterRenderEvent extends Object implements IDhApiEvent<Void>
Fired after Distant Horizons finishes rendering a frame.
At this point DH will have also finished cleaning up any modifications it did to the OpenGL state, so the state should be back to Minecraft's defaults.

Note: as of API v 3.0.0 no DhApiRenderParam is included in this event because the specific parameters may change depending on whether deferred rendering is enabled or not.
Since:
API 1.0.0
  • Constructor Details

    • DhApiAfterRenderEvent

      public DhApiAfterRenderEvent()
  • Method Details

    • afterRender

      public abstract void afterRender(DhApiEventParam<Void> event)
      Fired after Distant Horizons finishes rendering fake chunks.
    • fireEvent

      public final void fireEvent(DhApiEventParam<Void> event)
      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:
      event - the parameter object passed in from the event source. Can be null.