All mob heads have tile entities, despite only player, dragon and piglin heads needing them
Skeleton skulls, zombie heads and creeper heads are regular blocks with nothing special about them, so they do not need tile entities. Wall/floor and rotation are already stored in a block state. Removing the title entity would improve performance.
(split off of MC-159902)
Linked Issues
is duplicated by1
relates to5
Created Issue:
All mob heads have tile entities, despite only player head and dragon heads needing them
Skeleton skulls, zombie heads and creeper heads are regular blocks with nothing special about them, so they do not need tile entities. Wall/floor and rotation are already stored in a block state. Removing the title entity would improve performance.
(split off of
MC-159902)
Changed Summary:
All mob heads have tile entities, despite only playerheadand dragon heads needing them
Added Category: Performance
Removed Category: (Unassigned)
Added Affects Versions: 19w42a
Added Linked Issues:
relates to
clones
Added Affects Versions: 20w29a
Added Affects Versions: 1.16.1
Added Affects Versions: 20w30a
Added Affects Versions: 1.16.2-pre1
Added Affects Versions: 1.16.2-rc2
Added Affects Versions: 1.16.2
Added Affects Versions: 20w49a
Added Affects Versions: 1.19.2
Changed Summary:
All mob heads have tile entities, despite only playeranddragon heads needing themAll mob heads have tile entities, despite only player, dragon and piglin heads needing them
Added Linked Issues:
relates to
Added Affects Versions: 1.20.5
Added Linked Issues:
relates to
Added Linked Issues:
is duplicated by
Considering MC-164010 is triaged this should really be reopened. There's really zero need for beds to be block entities.
Would also allow for better cullface usage.
It might also be beneficial to add a powered= block state to the dragon head for consistency with other blocks that utilise redstone signals.
In 1.16.1
Relates to MC-166998.
Do piglin heads need a tile entity or not?
Yes, and need them for the ear animation when powered.
Affects 1.20.5
To be clear piglin heads could still be regular blocks and only have their ears be tile entities.
Or even their ears could be block models and quickly turn into block entities when powered.
(Taking inspiration from the Enhanced Block Entities and Supplementaries mods)
Trust me using regular block models would be much appreciated for shaders
I would be surprised if the first idea helped performance. If shaders break with tile entities, that is a mod bug.
But the second idea might also help with dragon heads, assuming that block models can grow outside the block grid, which I am unsure about, since signs, banners and lecterns have tile entities anyway, fence models are not visually higher and stuff like beds and doors is split into two blocks.