Solved Spawning entities as though naturally generated

Discussion in 'Spigot Plugin Development' started by torpkev, Dec 9, 2020.

  1. This will hopefully be a quick one.

    I've tried spawning a zombie in front of me about 500 times, and while they randomly might hold a shovel, I'm yet to have one generate with armor.

    I know I can manually add armor/weapons etc. through LivingEntity.. getEquipment().setHelmet() etc. but I'd rather not have to do the % chance of there being armor, what kind, if it should be enchanted etc.

    Am I just being super unlucky and they will eventually spawn with armor, or am I stuck doing it manually?

    • Winner Winner x 1
  2. Well dammit..
    I generated tens of thousands of mobs and not once thought of checking difficulty on my test server.

    That did it.. thanks so much.. appreciate it.