diff options
author | inglettronald <inglettronald@gmail.com> | 2023-06-12 20:51:33 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-06-12 20:51:33 -0500 |
commit | 2b93c22070564ed3ad31cd1862c65185b79c1a78 (patch) | |
tree | 89909715392a1af4567ec9cdb0584269786d7e5c /src/main/kotlin/com/dulkirfabric/events/BlockOutlineEvent.kt | |
parent | eea733bdab195e3a68d4f0d8264abddd5ab2ae59 (diff) | |
download | DulkirMod-Fabric-2b93c22070564ed3ad31cd1862c65185b79c1a78.tar.gz DulkirMod-Fabric-2b93c22070564ed3ad31cd1862c65185b79c1a78.tar.bz2 DulkirMod-Fabric-2b93c22070564ed3ad31cd1862c65185b79c1a78.zip |
Added a naive implementation of selected block outlines options
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/events/BlockOutlineEvent.kt')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/events/BlockOutlineEvent.kt | 10 |
1 files changed, 10 insertions, 0 deletions
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() |