mojira.dev
MC-779

Some entities are displayed outside of their spawner

Table by @unknown

Some entities are too large for the spawner and have parts of the model sticking out.

Here's a list of entities that are affected by this bug.

✔ = Not affected.
⚠️ = Sticks out with certain NBT tags.
:info: = Minor issue.
❌ = Sticks out with no special NBT.
❓ = Not rendered/unknown.

This table ignores armor/held items.

Mob

Affected?

Mob

Affected?

area_effect_cloud

armor_stand

arrow

:info: Sticks out the bottom very slightly

bat

blaze

boat

:info: Paddles stick out slightly

cave_spider

chest_minecart

:info:

chicken

command_block_minecart

:info:

cow

creeper

donkey

dragon_fireball

:info:

egg

elder_guardian

❌ Tail

end_crystal

ender_dragon

enderman

endermite

ender_pearl

eye_of_ender

falling_block

:info:

fireball

:info:

firework_rocket

furnace_minecart

:info:

ghast

❌ Tentacles at the bottom, sticks out sides

giant

guardian

❌  Tail

hopper_minecart

:info:

horse

:info: Ears

husk

item

item_frame

leash_knot

lightning_bolt

❌  Full-sized lightning bolt is rendered, see MC-195599

magma_cube

⚠️ If Size is big enough

minecart

:info:

mooshroom

:info: Mushroom

mule

ocelot

:info: Tail

painting

:info: Bottom

pig

polar_bear

❌  

potion

rabbit

sheep

shulker

:info:

shulker_bullet

silverfish

:info: Sticks out the bottom very slightly

skeleton

skeleton_horse

slime

⚠️ If Size is big enough

small_fireball

snow_golem

snowball

spawner_minecart

:info:

spectral_arrow

:info: Sticks out the bottom very slightly

spider

squid

❌ Tentacles stick out

stray

tnt

tnt_minecart

:info:

villager

iron_golem

witch

wither

⚠️ If the Invul tag is modified

wither_skeleton

wither_skull

wolf

experience_bottle

experience_orb

zombie

zombie_horse

zombified_piglin

zombie_villager

turtle

:info: Feet

phantom

❌ Wings

zoglin

:info: Sticks out the sides slightly

hoglin

:info: Sticks out the sides slightly

axolotl

❌  Tail

glow_squid

❌ Tentacles stick out

The following list gives some additional info:

Wither with huge Invul tag

might be invalid, but it will grow smaller and flip itself at one point, 5000 makes it be out of the spawner in total, a way to fix is to ignore the Invul tag when rendering the entity inside the spawner

Small Painting

just sticks out of the bottom

2 high Painting

sticks out of the bottom

2 wide painting

just sticks out of the bottom and sides

2x2 Painting

sticks out of the bottom and just out of the side

4x2+ Painting

sticks out of the sides and bottom

All Minecarts

just sticks out of the sides

All Minecarts With DisplayOffset

block can stick out of the top when a DisplayOffset is set, a way to fix is to ignore the DisplayOffset of the block when rendering the entity inside the spawner

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media]
migrated

I guess a graphical bug with spawners
Also appears with endermen,ender dragons,and other mobs taller than 2 blocks

migrated

Confirmed. Ghasts in spawners are rendered so big, that you can't see the spawner.

migrated

I'm not a Mod... but this ticket can be invalid refering to a Modded Minecraft (Example: Getting Spawners from TMI or NEI) If the spawner was edited by YOU with any other programs... it can be valid (Like 50/50 (Also is a 3rd Party Program?)) If you found this Bug in an Adventure Map, it Valid. So, I hope a Mod Responds and help you with this Bug.

migrated

I used MCEdit filters to change the properties of the mob spawner, but I had no mods installed at the time I took the screenshot. Just tested in 13w07a, still exists.

migrated

MCEdit still makes it invalid, and the Ghasts are supposed to cover the spawner.

migrated

MCEdit does not make it invalid because MCEdit is not a mod.

migrated

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

migrated

Confirmed in 13w11a.

migrated

Also confirmed in 1.5.

migrated

this also works with giants 😃

migrated

Affects Minecraft 1.6.2, 1.7.4 and 1.8 snapshots (06b)

migrated

affects 07a

migrated

Confirmed for 1.7.5, 14w10c and 14w11b

migrated

Confirmed for 14w17a
Tested with this command:

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId:"Ghast"}
migrated

Blah, I just tested this in 14w30c and it's still broken.

In creative, I right-clicked on a spawner with a ghast egg. The ghast is still displayed outside of the spawner.

migrated

Still reproduceable in 14w32d!

migrated

Still in 1.8

migrated

Confirmed in 1.8.3. The issue is that the size of the mini-mob inside of the spawner is scaled down by a fixed ratio, no matter the size of the original mob. This not only leads to mobs like ghasts, withers, giants, and endermen extending outside of the spawner block, but also makes very small entities like XPorbs and bats render much too small. Additionally, since the center point of mobs is their lowest block, but regular sized mobs are supposed to be centered in the spawner, the spawner actually puts the center point of the entity much lower than the center of the spawner block itself. This means that entities that are smaller than regular sized mobs render much too low.

migrated

Ghast are way too big. Slimes and Magma Cubes are a little bit too big. (depends on the size of the slime which is random) and endermans too long..

migrated

Confirmed for 1.8.9 and 15w51b.

migrated

Please re-open.
In 16w02a it still affects (at least) endermen.

migrated

still effects witches (hat just out), enderman and giants (I know they are unsupported, I'm just mentioning them anyway)

migrated

Reopened and given ticket to @unknown. Please update it.

marcono1234

For Giants it might be intended as you are maybe unable to tell the difference between a Zombie and a Giant spawner otherwise.

migrated

Might, but we'll see what changed in the next snapshot

wobst.michael

I leave this info here for now, and might create a separate bug report if this still happens to me in the next snapshot:

Create Ghast Spawner with: /give @p minecraft:mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:"Ghast"}}}
then after the first Ghast spawned, the inside entity changes to a Pig (16w02a).

migrated

Not related to this but, create a seperate issue for that (don't forget to search first)

marcono1234

@unknown what you experience is probably MC-92282

migrated

The bug is still there for enderman spwaners

migrated

@unknown:

1. I mentioned them in the description and have screenshots
2. It says it's fixed for next version

marcono1234

Still not fixed for all mobs, for example in 16w03a these (and probably more mobs) are still affected:

  • Ghast (tentacles)

  • Guardian

And like I said this fix will cause problems for giants. And guess what is now the case, Zombies and Giants have (nearly) the same size...

Seriously why did you consider this as bug in first place. I understand that it might make sense for Ghasts and Giants, but now the mob is pretty small and I personally do not like it 😞

migrated

@up
In 16w03a these are affected, and also enderman seems to be a bit too small (compare with skeleton or zombie). Also, Ghast's body corners are outside the spawner aside from tentacles.

migrated

@unknown Giants are unsupported, but perhaps might be added back in the game later, perhaps a new texture will come with it then as it's not a undead mob then you can tell the diffrence between the 2.

Anyway, it's useless to have a Giant in a spawner now as it won't spawn it anyway, under any condition

@unknown the issue here is that entities render outside of their spawner, due to the way of fixing not all entities are the same scale, the enderman was fixed and now is smaller then the skeleton.
that's the way how @unknown decided to fix it

migrated

Ender dragon spawners still have the dragon head and tail jutting out. And the dragon head seems to point into the spawner, and the tail points out.

migrated

Very big slimes, still have body jut out.

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:Slime,Size:8,PersistenceRequired:1}}

AreaEffectCloud still have it's hitbox out (visible through F3+B).

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:AreaEffectCloud,Duration:2147483647,Radius:8f,Particle:"flame"}}

Big jockeys, still have heads, that jut out.

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:Skeleton,PersistenceRequired:1}}

This thing still render out.

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:ThrownEgg}}

.

migrated

@unknown could you attach screenshot? I'm at school right now

migrated

Why? It's just,a spawner with technical entities inside! Like AreaEffectCloud with Radius:5f tag, and other entities. And slime which are very big, ender dragon, etc. If you don't want them to spawn, then this command will do.

/gamerule doMobSpawning false

They are now for display.

migrated

Because having the images makes it more clear to the developers how bad the issue is, and again, I'm at school now

migrated

@unknown I can only confirm for the big slimes, make sure you run the latest snapshot

migrated

I'm always, running the latest snapshot. The AreaEffectCloud can only be seen when you press F3+B.

migrated

I know, I did that, but still the ender dragon, the eraeffectcloud ans the thrown egg were completely inside the spawner

migrated

I mean big AreaEffectCloud entities.

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:AreaEffectCloud,Duration:2147483647,Radius:101f,Particle:"flame"}}

This very big AreaEffectCloud is surely jutting out.

migrated

Confirmed for EnderCrystal.

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:EnderCrystal,Glowing:1}}

.

migrated

Confirmed for this.

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:MinecartRideable,DisplayTile:sand,CustomDisplayTile:1,DisplayOffset:30}}

Minecart with display tile offset.

migrated

Ok, when you make sush entities you are just asking for it, I will test them tomorrow (2:26 here now) and say a way on how to fix it (always render era effect cloud as big as radius 6, don't render the offset on the custom tile in minecarts) and other ones (haven't tested paintings/item frames as they require some tags to now crash your game

migrated

Still present in 16w04a

migrated

I already added that version...

migrated

found a bunch more

migrated

Confirmed for 1.9.1-pre3.

Tested mobs: Squid, Guardian, Mooshroom (a tiny bit), Ocelot, Ghast, Slime, Magma Cube, Shulker

migrated

Here's a list of entities that are affected by this bug.

✔ = Not affected
⚠️ = Sticks out with certain NBT tags
❌ = Sticks out with no special NBT

This table ignores armor/held items.

Mob

Affected?

Mob

Affected?

AreaEffectCloud

⚠️ If radius is large enough

ArmorStand

Arrow

❌ Sticks out the bottom very slightly

Bat

Blaze

Boat

CaveSpider

Chicken

Cow

Creeper

DragonFireball

EnderCrystal

EnderDragon

Enderman

Endermite

EntityHorse

EyeOfEnderSignal

FallingSand

Fireball

FireworksRocketEntity

Ghast

❌ Tentacles at the bottom

Giant

Guardian

❌ Tail sticks out

Item

ItemFrame

LavaSlime

⚠️ If Size is big enough

LeashKnot

MinecartChest

❌ Very slightly

MinecartCommandBlock

❌ Very slightly

MinecartFurnace

❌ Very slightly

MinecartHopper

❌ Very slightly

MinecartRideable

❌ Very slightly

MinecartSpawner

❌ Very slightly

MinecartTNT

❌ Very slightly

MushroomCow

❌ Mushroom sticks out

Ozelot

❌ Tail sticks out

Painting

❌ Bottom sticks out

Pig

PigZombie

PrimedTnt

Rabbit

Sheep

Shulker

ShulkerBullet

Silverfish

❌ Sticks out the bottom very slightly

Skeleton

Slime

⚠️ If Size is big enough

SmallFireball

SnowMan

Snowball

SpectralArrow

❌ Sticks out the bottom very slightly

Spider

Squid

❌ Tentacles stick out

ThrownEgg

ThrownEnderpearl

ThrownExpBottle

ThrownPotion

Villager

VillagerGolem

Witch

WitherBoss

⚠️ If the Invul tag is modified

WitherSkull

Wolf

XPOrb

If I made a mistake, tell me!

SunCat
  1. There's a dot in the first table, which makes an additional element in the last row.

  2. I think "Affected?" should be changed to "Unaffected?", because it's true when not affected and false when affected.

migrated

First one was my mobile phone's mistake, second one no need to change that, the icons already have a value determined above the table

migrated

Confirmed for 1.9.3-pre3.

migrated

Confirmed for 1.9.4.

migrated

Marked some things as Minor (:info:) in the table, so they don't get as much attention as the bigger issues.

migrated

Confirmed for 16w20a. Affects PolarBear (❌ ) - sticks out the sides

migrated

Confirmed for 16w21a.

migrated

Confirmed for 16w21b.

migrated

Confirmed for 1.10-pre1. (Tried EnderCrystal, DragonFireball, and Ghast.)

migrated

Confirmed for 1.10.

FaRo1

Tests in 1.10:
Confirmed for: Arrow, EnderCrystal, Ghast, Guardian, MinecartChest, MinecartCommandBlock, MinecartFurnace, MinecartHopper, MinecartRideable, MinecartSpawner, MinecartTNT, MushroomCow, Ozelot, Painting, PrimedTnt, Shulker, Slime, SpectralArrow, Squid, WitherBoss, PolarBear.
Fixed for: AreaEffectCloud, DragonFireball, Fireball, Silverfish.


Guardian is not minor in my opinion. Slime and LavaSlime are now the same size for every "Size", but stick out a bit at the sides.

migrated

Confirmed for 1.10.1.

Still happens for DragonFireball, Fireball, and Silverfish. It's just not very noticeable.

FaRo1

It also happens in 1.10.1 for big paintings. I didn't test all, I'll do that the next time when 1.11 comes out.

marcono1234

The suggestion for the Invul tag of the WitherBoss

might be invalid, but it will grow smaller and flip itself at one point, 5000 makes it be out of the spawner in total, a way to fix is to ignore the Invul tag when rendering the entity inside the spawner

is probably not a great idea. People will then complain that the entity being displayed is not the one that is spawned.

migrated

Confirmed for 1.10.2.

bemoty

Can confirm for MC 1.12.1.

migrated

Still in 18w50a.

j_p_smith

Confirmed in 1.15.2 and 20w20b.

migrated

Affects 1.16 Release Candidate 1

migrated

Can confirm for 1.16.1

Avoma

Can confirm in 20w48a.

Avoma

Can confirm in 20w49a.

Avoma

Can confirm in 20w51a. This same idea also affects axolotls.

migrated

Its not possible to fix their render on spawner. this should be fix in any above of future version.

Avoma

Can confirm in 21w05a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w07a.

Avoma

Can confirm in 21w14a.

Avoma

Can confirm in 21w15a.

Avoma

Can confirm in 21w17a.

Avoma

Can confirm in 1.17.

Avoma

Can confirm in 1.17.1.

migrated

How do you put a painting in a mob spawner??

migrated

By providing SpawnData NBT.

Avoma

Can confirm this behavior in 21w39a. Please take into consideration that the command usage of spawners has changed in 21w37a. You can use the following command to reproduce this in versions 21w37a and above.

/setblock ~ ~ ~ minecraft:spawner{SpawnData:{entity:{id:"minecraft:ENTITY"}}}
ampolive

Can confirm in 21w40a.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

muzikbike

May relate to MC-199429 and MC-249451, as well as MC-196141

Avoma

Can confirm in 1.19.

Avoma

Can confirm in 1.19.1.

Avoma

Can confirm in 1.19.2.

muzikbike

Iron golems, endermen, wolves and zombified piglins all appear to render completely fine inside spawners so I'm not sure why these are marked as ❓ .

I've also tested goats, wardens and frogs since these aren't listed in the ticket and they seem to render completely within its bounds.

Polar bears, however, are indeed a problem and should be marked as such:

[media]

Brain81505

Can confirm in 23w03a

Brain81505

Can confirm in 23w04a

Brain81505

Can confirm in 23w05a

Brain81505

Can confirm in 23w06a

[Mod] markderickson

(Unassigned)

Confirmed

Platform

Low

Rendering

arrow, display, dragon_fireball, elder_guardian, ender_crystal, ghast, guardian, magma_cube, minecart, mooshroom, ocelot, outside, painting, shulker, slime, spawner, squid, tnt, wither

Minecraft 1.4.2, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.7.4, Minecraft 14w04b, ..., 1.20.5 Pre-Release 1, 1.21.1, 24w40a, 1.21.4, 25w05a

Minecraft 16w03a

Retrieved