Bug: Mob HP bugs out with RandomSpawn & Mount

Discussion in 'Bug Reports' started by UnrealisticBeing, Dec 21, 2018.

  1. UnrealisticBeing

    UnrealisticBeing New Member
    Supporter Premium Supporter

    Feb 20, 2017
    Likes Received:
    Enter a brief description of what is broken Mob HP bugs out with RandomSpawn & Mount

    What version of Minecraft are you using?

    What server jar are you using? Spigot

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? MythicMobs-4.5.3-SNAPSHOT Build 2603

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    For all mobs I have on my server the plugin behaves normally. The mobs all have different healths ranging from 100 all of the way up to 1500.

    I have a boss that is a horse, and in order to prevent players from riding this horse it's also configured as a skill so when the horse spawns it summoners an invisible armor stand atop it. In order for this to work the armorstand has to be summoner first, and it automatically spawns the horse to sit on.

    When the boss (horse) is spawned individually, it functions properly but does not have the armorstand atop it. This works but because it doesn't have the armorstand players can mount the horse.

    When the armorstand is spawned it summoners the boss to mount and it works as intended. However, the HP glitches and prints an error when the mob is spawned, not on a reload=:
    "22.12 01:39:30 [Server] WARN ? Config Error for Mob 'Boss' in 'Boss.yml': Mob HP is greater than server's maxHealth setting. Please modify spigot.yml and increase the maxHealth attribute to compensate."
    The maxHealth defined in the spigot.yml is 2048, and the health for the boss is 1000. When this error occurs, the mob's health is set to 24 with a maxHealth of 2048. I have an actionmessage that displays health.

    This error was also occured on previous 4.5.2 builds, however I am not sure which ones.

    Example Configurations
    Mob configuration: https://hastebin.com/ebehifuhac.bash
    spigot.yml: https://hastebin.com/xipuvewoxi.bash
  2. Buguser

    Buguser Active Member
    Supporter Quality Assurance Moderator

    Oct 11, 2016
    Likes Received:
    Does the horse even attack? Horses are passive creatures and can't defend themselves, which means they can't have an attack target and attack damage. I think it would be a lot easier for you if you disguised a husk as a horse, for example. Then you no longer need the armor stand that stands on the horse and you avoid the problem. :p

    Of course this doesn't mean that your bug report is unnecessary.

Share This Page