aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/slayer
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-12-29 18:34:45 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-12-29 18:34:45 +0100
commit5689117e8d5f1ba39aef4c9c60529fb5a697b25d (patch)
tree08ec1172f643c71dc17e7f880793ea462da93879 /src/main/java/at/hannibal2/skyhanni/features/slayer
parent78328f061716609a61550aced3106b835b6f298c (diff)
downloadskyhanni-5689117e8d5f1ba39aef4c9c60529fb5a697b25d.tar.gz
skyhanni-5689117e8d5f1ba39aef4c9c60529fb5a697b25d.tar.bz2
skyhanni-5689117e8d5f1ba39aef4c9c60529fb5a697b25d.zip
performance increases via particle logic changes
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/slayer')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt
index 8a9f58718..3f0e8ad76 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt
@@ -3,7 +3,6 @@ package at.hannibal2.skyhanni.features.slayer.blaze
import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.events.CheckRenderEntityEvent
import at.hannibal2.skyhanni.events.ReceiveParticleEvent
-import at.hannibal2.skyhanni.events.RenderParticleEvent
import at.hannibal2.skyhanni.features.damageindicator.BossType
import at.hannibal2.skyhanni.features.damageindicator.DamageIndicatorManager
import at.hannibal2.skyhanni.utils.EntityUtils.hasSkullTexture
@@ -47,21 +46,6 @@ class BlazeSlayerClearView {
}
@SubscribeEvent
- fun onSpawnParticle(event: RenderParticleEvent) {
- if (isEnabled()) {
- when (event.callerClass) {
- "net.minecraft.block.BlockFire",
- "net.minecraft.entity.monster.EntityBlaze",
- "net.minecraft.entity.projectile.EntityFireball",
- -> {
- event.isCanceled = true
- return
- }
- }
- }
- }
-
- @SubscribeEvent
fun onCheckRender(event: CheckRenderEntityEvent<*>) {
if (isEnabled()) {
val entity = event.entity