Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-118329

Minecarts not affected by Entity Datawatcher "visibility" value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.13.2, 1.15.2, 20w51a
    • None
    • Confirmed
    • Entities, Minecart, Networking

      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

            Unassigned Unassigned
            bergerkiller bergerkiller
            Votes:
            8 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: