mojira.dev
MC-307808

Hoglins can't exist in Peaceful Difficulty

The Bug:

In Minecraft 26.2 Snapshot 5, Hoglins were changed back to not being able to spawn naturally while the difficulty is set to Peaceful, which is expected behavior. However, it seems they were also made to be unable to exist completely, vanishing like most other hostile mobs and not being allowed to spawn from their spawn egg nor the summon command. This also makes them unable to appear with Bastion generation. Meanwhile, other hostile mobs that could exist in Peaceful, such as Piglins and Shulkers, still can.

Steps to Reproduce:

  1. Find Hoglins in the Nether/a Bastion, or spawn some yourself while on Easy, Normal, or Hard difficulty. Also give yourself a Hoglin spawn egg, and have commands enabled.

  2. Switch the difficulty to Peaceful. The Hoglins will immediately vanish upon exiting the pause menu, and the spawn egg and summon command will both be disabled for the mob.

Expected Behavior:

While on Peaceful difficulty, Hoglins will still exist, still spawn with Bastions, and still be allowed to spawn from their spawn egg or the summon command. They only won’t spawn under normal spawning conditions.

Observed Behavior:

Hoglins aren’t allowed to spawn or exist in Peaceful at all, vanishing like most other hostile mobs.

(additional note: I included a Zoglin spawn egg in the attached video since I didn’t remember if they were still allowed in Peaceful or not, but I know now that can be ignored :p)

Attachments

Comments 3

Thank you for helping us improve Minecraft! We saved your files:

[media]

i think this is intended as they listed in in the changelog

The changelog says they don’t spawn (which is normal outside of bastions), not that they don’t exist. The intended behavior since their addition has been they don’t spawn normally in Peaceful but can still exist, and still spawn in Bastions, which is the same with Piglins.

TheCJBrine

(Unassigned)

Unconfirmed

(Unassigned)

26.2 Snapshot 5

Retrieved