The Twilight Forest

The Twilight Forest

143M Downloads

Using Ice Crystal attack Goblin Knight (upper) of Twilight Forest caused crash

FworksHN opened this issue · 2 comments

commented

Forge version: 14.23.5.2768

Twilight Forest version: (this is the build number):3.8.689
Link to crash log:

Minecraft log:https://paste.ee/p/fMlDc
crash log:https://gist.github.com/FworksHN/f33bc6a86a0161874ce15db77c1d7112

Ice Crystal is a tool from https://github.com/BobMowzie/MowziesMobs mod that can be used to freeze mobs and do damage constantly to them.

Steps to reproduce:

  1. I only left these mods to test:
    journeymap-1.12.2-5.5.2
    llibrary-1.7.15-1.12.2
    mowziesmobs-1.5.3
    OptiFine_1.12.2_HD_U_E2
    twilightforest-1.12.2-3.8.689-universal
  2. Summon a goblin knight in creative mode
  3. Use Ice Crystal to “blow” the knight

What I expected to happen:
Both upper and lower part freeze (with specified texture change from MM mod) and take
constant damage as using it on other mobs

What happened instead:
Game freeze and crashed.

commented

This might be the point:

Caused by: java.lang.ClassCastException: com.bobmowzie.mowziesmobs.server.entity.frostmaw.EntityFrozenController cannot be cast to net.minecraft.entity.EntityLiving
at twilightforest.entity.EntityTFGoblinKnightUpper.func_70098_U(EntityTFGoblinKnightUpper.java:193)

This also happened on the server I'm playing in:
https://github.com/BobMowzie/MowziesMobs/issues/140

commented

@Override
public void updateRidden() {
super.updateRidden();
if (isRiding()) {
this.renderYawOffset = ((EntityLiving) this.getRidingEntity()).renderYawOffset;
}
}

Wrong assumption on actual type of entity being ridden?