Happens since updating to 1.20.4, seems a few of my models are using Silverfish in some way
Stacktrace:
[07:40:45 WARN]: java.lang.ClassCastException: class com.ticxo.modelengine.v1_20_R3.entity.hitbox.HitboxEntityImpl cannot be cast to class net.minecraft.world.entity.monster.EntitySilverfish (com.ticxo.modelengine.v1_20_R3.entity.hitbox.HitboxEntityImpl is in unnamed module of loader 'ModelEngine-4.0.4 (3).jar' @32056264; net.minecraft.world.entity.monster.EntitySilverfish is in unnamed module of loader java.net.URLClassLoader @759ebb3d)
[07:40:45 WARN]: at org.bukkit.craftbukkit.v1_20_R3.entity.CraftEntity.getEntity(CraftEntity.java:106)
[07:40:45 WARN]: at net.minecraft.world.entity.Entity.getBukkitEntity(Entity.java:253)
[07:40:45 WARN]: at ModelEngine-4.0.4 (3).jar//com.ticxo.modelengine.v1_20_R3.entity.EntityHandlerImpl.createHitbox(EntityHandlerImpl.java:273)
[07:40:45 WARN]: at ModelEngine-4.0.4 (3).jar//com.ticxo.modelengine.core.model.bone.behavior.SubHitboxImpl.onApply(SubHitboxImpl.java:61)
[07:40:45 WARN]: at ModelEngine-4.0.4 (3).jar//com.ticxo.modelengine.core.model.bone.ModelBoneImpl.addBoneBehavior(ModelBoneImpl.java:282)
[07:40:45 WARN]: at ModelEngine-4.0.4 (3).jar//com.ticxo.modelengine.core.model.ActiveModelImpl.generateModel(ActiveModelImpl.java:196)
[07:40:45 WARN]: at ModelEngine-4.0.4 (3).jar//com.ticxo.modelengine.core.model.ModeledEntityImpl.addModel(ModeledEntityImpl.java:177)
[07:40:45 WARN]: at ModelEngine-4.0.4 (3).jar//com.ticxo.modelengine.core.mythic.mechanics.entity.ModelMechanic.lambda$addModel$5(ModelMechanic.java:132)
[07:40:45 WARN]: at ModelEngine-4.0.4 (3).jar//com.ticxo.modelengine.core.model.ModeledEntityImpl.queuePostInitTask(ModeledEntityImpl.java:135)
[07:40:45 WARN]: at ModelEngine-4.0.4 (3).jar//com.ticxo.modelengine.core.mythic.mechanics.entity.ModelMechanic.addModel(ModelMechanic.java:113)
[07:40:45 WARN]: at ModelEngine-4.0.4 (3).jar//com.ticxo.modelengine.core.mythic.mechanics.entity.ModelMechanic.castAtEntity(ModelMechanic.java:63)
[07:40:45 WARN]: at MythicMobs-5.6.0-SNAPSHOT.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeTargetedEntitySkill$8(SkillMechanic.java:579)
[07:40:45 WARN]: at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[07:40:45 WARN]: at MythicMobs-5.6.0-SNAPSHOT.jar//io.lumine.mythic.core.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:575)
[07:40:45 WARN]: at MythicMobs-5.6.0-SNAPSHOT.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeSkills$4(SkillMechanic.java:531)
[07:40:45 WARN]: at MythicMobs-5.6.0-SNAPSHOT.jar//io.lumine.mythic.core.skills.SkillMechanic.runMechanic(SkillMechanic.java:570)
[07:40:45 WARN]: at MythicMobs-5.6.0-SNAPSHOT.jar//io.lumine.mythic.core.skills.SkillMechanic.executeSkills(SkillMechanic.java:531)
[07:40:45 WARN]: at MythicMobs-5.6.0-SNAPSHOT.jar//io.lumine.mythic.core.skills.SkillMechanic.execute(SkillMechanic.java:448)
[07:40:45 WARN]: at MythicMobs-5.6.0-SNAPSHOT.jar//io.lumine.mythic.core.mobs.MobType.lambda$executeSkills$7(MobType.java:1282)
[07:40:45 WARN]: at MythicMobs-5.6.0-SNAPSHOT.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121)
[07:40:45 WARN]: at MythicMobs-5.6.0-SNAPSHOT.jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654)
[07:40:45 WARN]: at MythicMobs-5.6.0-SNAPSHOT.jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70)
[07:40:45 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[07:40:45 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[07:40:45 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
Silver fish error spam for days. Will provide a full log if needed
I want to suggest adding a Item exclusion option to Crucible, so said excluded item doesn't show up in the Browse GUI. This would be useful for things like Boss heads, ability texture Items etc.
Summary
Server spitting out a error every reboot
Current behavior
Server boots up fine, it just spits out a stacktrace issue.
Intended correct behavior
Should be no error on boot
Debug log snippet
[MythicMobs]: [SCHEDULER] Exception thrown whilst executing task WARN15:17:27 java.lang.NullPointerException: Cannot invoke "io.lumine.mythic.api.adapters.AbstractEntity.isValid()" because "this.entity" is null at MythicMobs-5.0.4-SNAPSHOT (1).jar//io.lumine.mythic.core.mobs.ActiveMob.setupNew(ActiveMob.java:153) at MythicMobs-5.0.4-SNAPSHOT (1).jar//io.lumine.mythic.core.mobs.ActiveMob.lambda$new$0(ActiveMob.java:123) at MythicMobs-5.0.4-SNAPSHOT (1).jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121) at MythicMobs-5.0.4-SNAPSHOT (1).jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654) at MythicMobs-5.0.4-SNAPSHOT (1).jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70) at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1531) at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:483) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1455) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1225) at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) at java.base/java.lang.Thread.run(Thread.java:833)
This issue is very Similar to the closed Issue of #742 This is running the latest dev build avail.
Server Version: org.bukkit.craftbukkit.v1_18_R2 (Paper)
Plugin Version: 5.0.4
Plugin Build: c7760041
Is Premium: Yes
Is Dev Build: Yes
Supported Version: Yes
------------- www.mythiccraft.io -------------
I can provide more info as needed