(1.20.1) Ticking entity when apothic mob spawns with tetra's suspend potion effect
Mario64000 opened this issue ยท 2 comments
Was playing normally with a self-made modpack until ticking entity error crashed the game.
A zombie spawned as an apothic mob with tetra's suspend potion effect and seems like it was trying to cast it into a player entity.
crash log:
Description: Ticking entity
java.lang.ClassCastException: class net.minecraft.world.entity.monster.Zombie cannot be cast to class net.minecraft.world.entity.player.Player (net.minecraft.world.entity.monster.Zombie and net.minecraft.world.entity.player.Player are in module [email protected] of loader 'TRANSFORMER' @58f290bc)
Thread: Server thread
Suspected Mod:
tetra (tetra), Version: 6.9.0
at TRANSFORMER/[email protected]/se.mickelus.tetra.items.modular.impl.toolbelt.suspend.SuspendPotionEffect.m_6742_(SuspendPotionEffect.java:48)
-- Entity being ticked --
Details:
Entity Type: minecraft:zombie (net.minecraft.world.entity.monster.Zombie)
Entity ID: 1333
Entity Name: Lillian the Eagle
Entity's Exact location: 1015.45, 89.05, -159.57
Entity's Block location: World: (1015,89,-160), Section: (at 7,9,0 in 63,5,-10; chunk contains blocks 1008,-64,-160 to 1023,319,-145), Region: (1,-1; contains chunks 32,-32 to 63,-1, blocks 512,-64,-512 to 1023,319,-1)
Entity's Momentum: 0.00, 0.13, 0.00
Entity's Passengers: []
Entity's Vehicle: null
full crash log:
crash-2025-06-24_18.19.21-server.txt
Had to remove the potion effect from the zombie with NBTExplorer and it fixed the issue (for now).