Class DhApiBeforeGenericRenderCleanupEvent

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

public abstract class DhApiBeforeGenericRenderCleanupEvent extends Object implements IDhApiEvent<DhApiRenderParam>
Called before Distant Horizons starts the cleanup process done after rendering generic objects.
This is called after all generic objects have finished rendering.
Since:
API 3.0.0
  • Constructor Details

    • DhApiBeforeGenericRenderCleanupEvent

      public DhApiBeforeGenericRenderCleanupEvent()
  • Method Details

    • beforeCleanup

      public abstract void beforeCleanup(DhApiEventParam<DhApiRenderParam> event)
      Fired before Distant Horizons starts the cleanup process once rendering has finished.
    • 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.