Flemmli97 / ImprovedMobs

Improved Mobs AI mod for minecraft
50 stars 11 forks source link

Ticking entity causing crashing #283

Open dylandbl opened 3 weeks ago

dylandbl commented 3 weeks ago

Modloader

Forge

Minecraft version

1.20.1

Modloader version

47.3.11

Mod version

1.13.0

TenshiLib version

1.7.6

Description

The game will crash when Drowned are around, perhaps on spawning. After testing, it seems to be a conflict between Improved Mobs and Epic Fight.

Steps to reproduce

  1. Create a new world with Epic Fight (version 20.9.5), Improved Mobs, and TenshiLib.
  2. Spawn a bunch of Drowned. Can be naturally, through commands, or with Spawn Eggs.
  3. Game will crash due to ticking entity.

Mods that might affect the issue

Epic Fight version 20.9.5 (and I believe 20.9.4, as well)

Logs

https://gist.github.com/dylandbl/5ddf316a5c097c44092dce1c55d839e9

Flemmli97 commented 2 weeks ago

finally a lead for this! thx

dylandbl commented 2 weeks ago

@Flemmli97 After some further testing, it seems to involve pathfinding toward players and villagers. This is my equipment.json (my other configs are the defaults):

{
  "__comment": [
    "Mobs will be able to equip items declared here",
    "The first number is the weight while the second number is the quality",
    "Weight is the weight of an item. Higher weight means that the item is more likely to get choosen",
    "Quality is a modifier applied to the weight. The final weight used is weight + quality * current difficulty"
  ],
  "MAINHAND": {},
  "OFFHAND": {},
  "FEET": {},
  "LEGS": {},
  "CHEST": {},
  "HEAD": {}
}