Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 141
    • Issues 141
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1454

Closed
Open
Created Jan 14, 2024 by Dogc@CNDogc

Mobs in different dimensions cause server tps to die

Summary

I used the plugin to make a "baby iron golem" that spawned with the iron golem. However, the dual-dimensional iron farming machine seems to make the iron golem and the baby iron golem in two different dimensions, which makes the baby iron golem unable to find the iron golem. Bring the server TPS down to single digits

Steps to reproduce

Use the configuration file provided by my attachment and drag it directly to use. Then make a two-dimensional iron farm, so that the baby iron golem and the adult iron golem are in different dimensionsplugins.zip

Current behavior

This made my server tps drop to 2

Intended correct behavior

It shouldn't have the server's tps turned up to 2

Server log file

latest.zip

Debug log snippet

  • [16:42:48] [Server thread/WARN]: java.lang.IllegalArgumentException: Cannot measure distance between two different worlds. [16:42:48] [Server thread/WARN]: at MythicMobs-5.5.1.jar//io.lumine.mythic.api.adapters.AbstractLocation.distanceSquared(AbstractLocation.java:253) [16:42:48] [Server thread/WARN]: at MythicMobs-5.5.1.jar//io.lumine.mythic.core.mobs.ai.goals.GoToParentGoal.shouldStart(GoToParentGoal.java:52) [16:42:48] [Server thread/WARN]: at MythicMobs-5.5.1.jar//io.lumine.mythic.core.volatilecode.v1_20_R2.ai.CustomAIAdapter.a(CustomAIAdapter.java:44) [16:42:48] [Server thread/WARN]: at net.minecraft.world.entity.ai.goal.PathfinderGoalWrapped.a(PathfinderGoalWrapped.java:22) [16:42:48] [Server thread/WARN]: at net.minecraft.world.entity.ai.goal.PathfinderGoalSelector.a(PathfinderGoalSelector.java:131) [16:42:48] [Server thread/WARN]: at net.minecraft.world.entity.EntityInsentient.fg(EntityInsentient.java:959) [16:42:48] [Server thread/WARN]: at net.minecraft.world.entity.EntityLiving.b_(EntityLiving.java:3483) [16:42:48] [Server thread/WARN]: at net.minecraft.world.entity.EntityInsentient.b_(EntityInsentient.java:705) [16:42:48] [Server thread/WARN]: at net.minecraft.world.entity.animal.EntityIronGolem.b_(EntityIronGolem.java:159) [16:42:48] [Server thread/WARN]: at net.minecraft.world.entity.EntityLiving.l(EntityLiving.java:3137)

  • [14:38:03] [Server thread/WARN]: java.lang.IllegalArgumentException: Cannot measure distance between two different worlds. [14:38:03] [Server thread/WARN]: at MythicMobs-5.5.1.jar//io.lumine.mythic.api.adapters.AbstractLocation.distanceSquared(AbstractLocation.java:253) [14:38:03] [Server thread/WARN]: at MythicMobs-5.5.1.jar//io.lumine.mythic.core.mobs.ai.goals.GoToParentGoal.shouldStart(GoToParentGoal.java:52) [14:38:03] [Server thread/WARN]: at MythicMobs-5.5.1.jar//io.lumine.mythic.core.volatilecode.v1_20_R2.ai.CustomAIAdapter.a(CustomAIAdapter.java:44) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.ai.goal.PathfinderGoalWrapped.a(PathfinderGoalWrapped.java:22) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.ai.goal.PathfinderGoalSelector.a(PathfinderGoalSelector.java:131) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.EntityInsentient.fg(EntityInsentient.java:959) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.EntityLiving.b_(EntityLiving.java:3483) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.EntityInsentient.b_(EntityInsentient.java:705) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.animal.EntityIronGolem.b_(EntityIronGolem.java:159) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.EntityLiving.l(EntityLiving.java:3137) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.EntityInsentient.l(EntityInsentient.java:461) [14:38:03] [Server thread/WARN]: at net.minecraft.server.level.WorldServer.a(WorldServer.java:1469) [14:38:03] [Server thread/WARN]: at net.minecraft.server.level.WorldServer.lambda$tick$8(WorldServer.java:924) [14:38:03] [Server thread/WARN]: at net.minecraft.world.level.entity.EntityTickList.a(EntityTickList.java:42) [14:38:03] [Server thread/WARN]: at net.minecraft.server.level.WorldServer.a(WorldServer.java:901) [14:38:03] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1577) [14:38:03] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:486) [14:38:03] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1406) [14:38:03] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1177) [14:38:03] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) [14:38:03] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:833) [14:38:03] [Server thread/WARN]: java.lang.IllegalArgumentException: Cannot measure distance between two different worlds. [14:38:03] [Server thread/WARN]: at MythicMobs-5.5.1.jar//io.lumine.mythic.api.adapters.AbstractLocation.distanceSquared(AbstractLocation.java:253) [14:38:03] [Server thread/WARN]: at MythicMobs-5.5.1.jar//io.lumine.mythic.core.mobs.ai.goals.GoToParentGoal.shouldStart(GoToParentGoal.java:52) [14:38:03] [Server thread/WARN]: at MythicMobs-5.5.1.jar//io.lumine.mythic.core.volatilecode.v1_20_R2.ai.CustomAIAdapter.a(CustomAIAdapter.java:44) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.ai.goal.PathfinderGoalWrapped.a(PathfinderGoalWrapped.java:22) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.ai.goal.PathfinderGoalSelector.a(PathfinderGoalSelector.java:131) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.EntityInsentient.fg(EntityInsentient.java:959) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.EntityLiving.b_(EntityLiving.java:3483) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.EntityInsentient.b_(EntityInsentient.java:705) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.animal.EntityIronGolem.b_(EntityIronGolem.java:159) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.EntityLiving.l(EntityLiving.java:3137) [14:38:03] [Server thread/WARN]: at net.minecraft.world.entity.EntityInsentient.l(EntityInsentient.java:461) [14:38:03] [Server thread/WARN]: at net.minecraft.server.level.WorldServer.a(WorldServer.java:1469) [14:38:03] [Server thread/WARN]: at net.minecraft.server.level.WorldServer.lambda$tick$8(WorldServer.java:924) [14:38:03] [Server thread/WARN]: at net.minecraft.world.level.entity.EntityTickList.a(EntityTickList.java:42) [14:38:03] [Server thread/WARN]: at net.minecraft.server.level.WorldServer.a(WorldServer.java:901) [14:38:03] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1577) [14:38:03] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:486) [14:38:03] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1406) [14:38:03] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1177) [14:38:03] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) [14:38:03] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:833)

Proposed fixes

Describe what you think the issue or any potential fixes may be.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking