From aedfea76210c0d45d308c1814d8836ac7e380a9e Mon Sep 17 00:00:00 2001 From: inglettronald Date: Fri, 21 Jul 2023 13:16:28 -0500 Subject: Updated to 1.20.1 --- src/main/kotlin/com/dulkirfabric/features/RenderTest.kt | 5 +++-- src/main/resources/fabric.mod.json | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src') 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": { -- cgit