ImprovedMobs icon indicating copy to clipboard operation
ImprovedMobs copied to clipboard

improvedmobs:player_difficulty gets reset

Open SheReyy opened this issue 2 years ago • 0 comments

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

SheReyy avatar Jun 16 '22 10:06 SheReyy