mojira.dev
MC-51123

Endermites spawn from thrown ender pearls even when doMobSpawning gamerule is false

How to reproduce:

/gamerule doMobSpawning false

Place a bucket of water, spawn endermen in the water, watch as they teleport away and leave endermites behind.

Or just throw some ender pearls.

Linked issues

Comments 6

Somehow to me I threw a ton of enderpearls.
none spawned. neither with it set to false/true!

Can confirm spawning with enderpearls. One endermite even killed me, because my health was drained due to the enderpearls.

Turns out there's a tag for Enderman called "EndermiteCount". When the value is 15 or higher, Endermites will no longer spawn. There's a separate bug where ghost endermites will appear, but they don't actually exist. Example:

/summon Enderman ~ ~1 ~ {EndermiteCount:15}

However, there is seemingly no way to prevent endermites from spawning via enderpearl usage. For adventure maps, we can fake this spawning since enderpearl usage can now be tracked, so linking the default endermite/enderpearl spawning to the "doMobSpawning" gamerule should work out.

I think for now it may be easiest for map makers to have a command block performing /kill @e[type=Endermite]. They're barely functional as a mob anyways.

14w32d, still happening for ender pearls.

migrated

migrated

Confirmed

domobspawning, enderman, endermite, spawn, teleport

Minecraft 14w11b, Minecraft 14w32d, Minecraft 14w33a, Minecraft 14w33b, Minecraft 14w33c, Minecraft 14w34b

Minecraft 14w34c

Retrieved