aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-06-06 09:16:51 +1000
committerGitHub <noreply@github.com>2024-06-06 09:16:51 +1000
commit4ef946f824817e91bdf9c2e0ae4f201e5c669f63 (patch)
treea28c85ee43236cbb12d736935f6e43d798ff1690 /src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt
parent93229bf2caa30de689664b665b58ee59949137fc (diff)
downloadskyhanni-4ef946f824817e91bdf9c2e0ae4f201e5c669f63.tar.gz
skyhanni-4ef946f824817e91bdf9c2e0ae4f201e5c669f63.tar.bz2
skyhanni-4ef946f824817e91bdf9c2e0ae4f201e5c669f63.zip
Backend: Convert existing objects to use the annotation and add the plugin (#1974)
Co-authored-by: ThatGravyBoat <thatgravyboat@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt b/src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt
index 86486fd45..889530cd6 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt
@@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.config.enums.OutsideSbFeature
import at.hannibal2.skyhanni.events.LorenzTickEvent
import at.hannibal2.skyhanni.events.RenderEntityOutlineEvent
import at.hannibal2.skyhanni.mixins.transformers.CustomRenderGlobal
+import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule
import at.hannibal2.skyhanni.test.command.ErrorManager
import net.minecraft.client.Minecraft
import net.minecraft.client.renderer.GlStateManager
@@ -32,6 +33,7 @@ import java.lang.reflect.Method
* https://github.com/BiscuitDevelopment/SkyblockAddons/blob/main/src/main/java/codes/biscuit/skyblockaddons/features/EntityOutlines/EntityOutlineRenderer.java
*
*/
+@SkyHanniModule
object EntityOutlineRenderer {
private val entityRenderCache: CachedInfo = CachedInfo(null, null, null)