diff options
author | viciscat <51047087+viciscat@users.noreply.github.com> | 2024-02-15 21:13:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 15:13:19 -0500 |
commit | 9c106069c2775cafc43da402348d7f35d3a2d67b (patch) | |
tree | 895e73757b044e5cbc21f6c49ad644431663b5d0 /src/main/java/de/hysky/skyblocker/skyblock/entity | |
parent | 41d02daf5f53a761043ae76f5be484f94ceb0128 (diff) | |
download | Skyblocker-9c106069c2775cafc43da402348d7f35d3a2d67b.tar.gz Skyblocker-9c106069c2775cafc43da402348d7f35d3a2d67b.tar.bz2 Skyblocker-9c106069c2775cafc43da402348d7f35d3a2d67b.zip |
Add End HUD Widget (#524)
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/skyblock/entity')
-rw-r--r-- | src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java b/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java index d0d58606..90513a4b 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java @@ -1,12 +1,14 @@ package de.hysky.skyblocker.skyblock.entity; import de.hysky.skyblocker.config.SkyblockerConfigManager; +import de.hysky.skyblocker.skyblock.end.TheEnd; import de.hysky.skyblocker.skyblock.dungeon.LividColor; import de.hysky.skyblocker.utils.SlayerUtils; import de.hysky.skyblocker.utils.Utils; import de.hysky.skyblocker.utils.render.culling.OcclusionCulling; import net.minecraft.entity.Entity; import net.minecraft.entity.decoration.ArmorStandEntity; +import net.minecraft.entity.mob.EndermanEntity; import net.minecraft.entity.passive.BatEntity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.ItemStack; @@ -71,6 +73,9 @@ public class MobGlow { && isNukekubiHead(armorStandEntity); } + // Special Zelot + if (entity instanceof EndermanEntity enderman && TheEnd.isSpecialZealot(enderman)) return true; + return false; } @@ -92,6 +97,7 @@ public class MobGlow { default -> 0xf57738; }; } + if (entity instanceof EndermanEntity enderman && TheEnd.isSpecialZealot(enderman)) return Formatting.RED.getColorValue(); // copypaste nukekebi head logic if (entity instanceof ArmorStandEntity armorStandEntity && isNukekubiHead(armorStandEntity)) return 0x990099; |