mojira.dev
MC-76274

Minecart CustomDisplayTile / DisplayState not rendering specific blocks

Minecarts fail to display specific blocks which you can specify in DisplayState.

One of the blocks they don't display are skulls.
Test this with:

summon minecart ~ ~ ~ {CustomDisplayTile:1b,DisplayState:{Name:"minecraft:skeleton_skull"}}
[media]

and this summons a Minecart with all the correct data as you would expect.
However the skull isn't rendering at all.

[media]

This is also the case for e.g. banners.
Summon command:

summon minecart ~ ~ ~ {CustomDisplayTile:1b,DisplayState:{Name:"minecraft:blue_banner"}}

 

⚠️ List thus far of affected blocks which are not displayed (haven't checked all of them yet):

  • Skulls

  • Signs

  • Banners

  • Liquids (Water, Lava)

  • End Gateway

  • End Portal :info: Note: It does display the Nether Portal Block though, but Nether Portal Blocks are rendered differently

  • Book on enchanting table

[media]

It could be that this is due to skulls, signs, banners, end gateway and the book on enchantment table are block entities which are rendered via block entity renderer, but then again there are special cases such as e.g. chest, trapped chest, enderchest, shulker box which are displayed normally.

 

A more complete list of affected blocks - if there are any more than those mentioned - will be added over time.

Linked issues

Attachments

Comments 19

Are you trying to make flying skulls or what?

@Djfe kinda the good thing about minecarts is the custom rotations.

15w43a

Confirmed for

  • 1.9-pre2

Also for water and lava

@unknown I didn't fiddle much with those kinds of Minecarts, neither in 1.8.x nor 1.9 snapshots, but are you sure that water/lava are "blocks" are displayable at all?
Water, lava or fire are technical blocks, so from my gut feeling I'd say that you can't display them is "WaI".
which reminds me that skulls are also technical blocks if I recall correctly ;-;

If that is the reason, then it makes sense, but I got no idea, so someone from Mojang would have to tell us if that is "Works as intended"/"Won't fix".

9 more comments

Affects 21w18a

Confirmed for 1.17 pre-2, also affects banners, please add it to the description and title, or, in case there'd be even more than those 3, remove completely from title, but add to tags and description so people can find it.

There may be some other affected blocks, couldn't test everything yet.

I have agreed that with @unknown that this post should be transferred to her as I am no longer active on Mojira. Thanks

Iosiv Visokogorskiy

Affects 21w44a 1.17.1

Can confirm in 1.19.2.

sancarn

Meri Diana

(Unassigned)

Confirmed

Commands, Rendering

BlockEntity, CustomDisplayTile, DisplayState, TileEntities, block-entity, minecart, minecart-display, tile-entity, tileentity

Minecraft 1.8.2-pre1, Minecraft 15w43a, Minecraft 1.9 Pre-Release 2, 1.16.4, 20w46a, ..., 1.17.1 Pre-release 1, 1.17.1, 21w44a, 1.19.2, 1.20.2

Retrieved