mojira.dev
MC-127758

Arrow / trident inBlockState Properties don't update when block states are changed

An arrow / trident inside of a block stores the properties of that block. However, it doesn't update when the properties of the block changes. An example would be that if you light up a redstone lamp after an arrow has been shot inside it, the arrow's Properties tag in the inBlockState tag will still be set to lit:"false".

Steps to reproduce

  • Shoot an arrow into an unlit redstone lamp and run the following command:

    /data get entity @e[type=arrow,limit=1]
  • Light up the redstone lamp and run the same command.
    ->The inBlockState tag will still be set to lit:"false" in both cases

Linked issues

Attachments

Comments 3

Also happens in 19w36a

This also affects tridents

Affects 24w40a. I'd like to request ownership to maintain the report.

ZockerAxel

sof

(Unassigned)

Confirmed

(Unassigned)

Minecraft 18w11a, Minecraft 1.13.1, Minecraft 1.14, 1.14.4, 19w36a, 22w12a, 24w40a, 1.21.3, 1.21.4

Retrieved