From 2b93c22070564ed3ad31cd1862c65185b79c1a78 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Mon, 12 Jun 2023 20:51:33 -0500 Subject: Added a naive implementation of selected block outlines options --- src/main/kotlin/com/dulkirfabric/events/BlockOutlineEvent.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/main/kotlin/com/dulkirfabric/events/BlockOutlineEvent.kt (limited to 'src/main/kotlin/com/dulkirfabric/events/BlockOutlineEvent.kt') diff --git a/src/main/kotlin/com/dulkirfabric/events/BlockOutlineEvent.kt b/src/main/kotlin/com/dulkirfabric/events/BlockOutlineEvent.kt new file mode 100644 index 0000000..7228537 --- /dev/null +++ b/src/main/kotlin/com/dulkirfabric/events/BlockOutlineEvent.kt @@ -0,0 +1,10 @@ +package com.dulkirfabric.events + +import com.dulkirfabric.events.base.CancellableEvent +import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext +import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext + +data class BlockOutlineEvent( + val worldRenderContext: WorldRenderContext, + val blockOutlineContext: BlockOutlineContext +): CancellableEvent() -- cgit