Improved Mobs (Fabric)

Improved Mobs (Fabric)

170k Downloads

improvedmobs:player_difficulty gets reset

SheReyy opened this issue ยท 3 comments

commented

Modloader

Forge

Minecraft version

1.16.5

Modloader version

36.2.33

Mod version

improvedmobs-1.16.5-1.10.13.jar

TenshiLib version

TenshiLib-1.16.3-1.3.0.jar

Description

Hi. I've got a rather strange bug. I'm the owner of the Decursio Project. This pack is structured under Ages. Each age, the mobs are getting stronger:
Age 1: around 25 - 75 health
Age 2: around 85 - 150 health
and so on.
My issue is simple. I think that, on multiplayer & singleplayer, the improvedmobs:player_difficulty data, gets reset (I don't know this for sure). After a certain amount of time, the mobs return to their default amount of health points. I can't use the /data get command since there is way too much nbt data on the player. Oh, but I think I can check in the logs for that. Either way, the mobs don't keep the same amount of health/power over time.

Here are the Config Files and here's the Kubejs scripts we're using to change the mob difficulty with each age.

Steps to reproduce

  1. Join a server and Claim the 1st age of the pack
  2. Play for some time and the mobs around will get from 25-75 health points, back to their default amount of health

Mods that might affect the issue

No response

Logs

commented

if still an issue:
first add something to Difficulty Increase cause it doesnt like an empty list. like "0-0" would be enough

then check on the client if the difficulty in the bar (default top left) gets reset.

commented

I managed to fix the problem using another mod, but thanks for the info anyway

commented

closing since solved? stale? reopen/make a new issue if this is still a problem