From 2c7f11c7229e253d6a38e13a49fa3fd8afbb50c4 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Mon, 3 Feb 2025 20:30:18 -0600 Subject: [PATCH] Improve DhApiBeforeRenderEvent javadocs --- .../events/abstractEvents/DhApiBeforeRenderEvent.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api/src/main/java/com/seibel/distanthorizons/api/methods/events/abstractEvents/DhApiBeforeRenderEvent.java b/api/src/main/java/com/seibel/distanthorizons/api/methods/events/abstractEvents/DhApiBeforeRenderEvent.java index fcc0b84e7..abcd89303 100644 --- a/api/src/main/java/com/seibel/distanthorizons/api/methods/events/abstractEvents/DhApiBeforeRenderEvent.java +++ b/api/src/main/java/com/seibel/distanthorizons/api/methods/events/abstractEvents/DhApiBeforeRenderEvent.java @@ -25,11 +25,16 @@ import com.seibel.distanthorizons.api.methods.events.sharedParameterObjects.DhAp /** * Called before Distant Horizons starts rendering a frame.
- * Canceling the event will prevent DH from rendering that frame. + * Canceling the event will prevent DH from rendering that frame.

+ * + * This is called before DH starts modifying the GL state. + * If you want to inject into DH's rendering pass, use {@link DhApiBeforeRenderPassEvent} instead. * * @author James Seibel * @version 2023-6-23 * @since API 1.0.0 + * + * @see DhApiBeforeRenderPassEvent */ public abstract class DhApiBeforeRenderEvent implements IDhApiCancelableEvent {