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

public abstract class DhApiAfterRenderEvent extends Object implements IDhApiEvent<DhApiRenderParam>
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.
Since:
API 1.0.0
See Also:
  • Constructor Details

    • DhApiAfterRenderEvent

      public DhApiAfterRenderEvent()
  • Method Details

    • afterRender

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

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