mojira.dev
MC-118329

Minecarts not affected by Entity Datawatcher "visibility" value

I am a server-mod developer here to report a bug of inconsistency in the Entity datawatcher protocol. Entities have a datawatcher (metadata values, NOT mob 'attributes'), where the base Entity type has a 'FLAGS' metadata field consisting of a single Byte. This byte has 8 possible flags that can be set. See the unofficial protocol page here.

One of these flag is "invisibility". While this flag works for many entities, it does not work for minecarts. When set for a minecart, only the shadow disappears, the minecart model itself stays visible.

It would be a wonderful addition for this property to function for minecarts, since a lot of server owners are interested in having invisible minecarts. This is particularly interesting for those that want to use resource packs to use custom models on minecarts.

What I expected to happen was...:
Minecart becomes invisible when the INVISIBLE flag is set for the entity

What actually happened was...:
Only the shadow disappears

Steps to Reproduce:
1. Set the invisibility flag of an entity by changing the value in the datawatcher/metadata
2. Observe

Attachments

Comments 4

Is this still a issue in the latest version of the game(currently 1.13.1)?

If so, please add it to the affected versions, thanks!

This issue still exists on 1.13.1/1.13.2, though it has become less important nowadays. It is easily possible to have players sit on invisible chickens to achieve the same effect as an invisible minecart. This might be more relevant if a player wants to use a command block to alter the invisibility flag attribute of a minecart.

Can confirm in 20w51a.

Any news about this bug ? A fix could be really great for the datapack dev community that hope to create invisible chest-minecart by example. This could improve the possibilities of the game without requiring to players to install a resource pack and for datapack dev to use tricks with custom model damage.

I'd love this bug to be fixed ^^ !

PS : thanks to the moderation team and/or devs to take the time to read it 😉

bergerkiller

(Unassigned)

Confirmed

Entities, Minecart, Networking

Minecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.13.2, 1.15.2, 20w51a

Retrieved