diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/features/RenderTest.kt | 5 | ||||
-rw-r--r-- | src/main/resources/fabric.mod.json | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt b/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt index 8d941d1..4799e0c 100644 --- a/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt +++ b/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt @@ -2,6 +2,7 @@ package com.dulkirfabric.features import com.dulkirfabric.events.EntityLoadEvent import com.dulkirfabric.events.WorldRenderLastEvent +import com.dulkirfabric.util.GlowingEntityInterface import com.dulkirfabric.util.WorldRenderUtils import meteordevelopment.orbit.EventHandler import net.minecraft.text.Style @@ -26,7 +27,7 @@ object RenderTest { @EventHandler fun onLoadEnt(event: EntityLoadEvent) { -// if (event.entity !is GlowingEntityInterface) return -// event.entity.setDulkirEntityGlow(true, Color(255, 255, 255, 255),false) + if (event.entity !is GlowingEntityInterface) return + event.entity.setDulkirEntityGlow(true, Color(0, 0, 255, 255),false) } }
\ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 38818fa..3f6321d 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -30,9 +30,9 @@ ], "depends": { "fabricloader": ">=0.14.21", - "minecraft": "~1.20", + "minecraft": "~1.20.1", "java": ">=17", - "fabric-api": "0.83.0+1.20", + "fabric-api": "0.86.0+1.20.1", "fabric-language-kotlin": ">=1.8.21" }, "suggests": { |