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

Item entity Motion displays incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6
    • Windows 10
      Java version: 1.8.0_201
    • Unconfirmed
    • (Unassigned)

      When you modify an item entity's motion value, after the initial summon, the new motion is not applied visually, even though the item still ends up in the same place.
      Until the item stops completely on the ground, the item travels according to the original Motion[] values, but when it lands, it teleports to the position of the new Motion[] values.

      Shown here: GIF link
      These are the 4 commands in the command blocks:

      summon minecraft:item ~ ~2 ~ {Item:{id:"minecraft:redstone_block",Count:1b},Tags:["newitem"],Motion:[0.1d,0.2d,0.1d]}
      data modify entity @e[tag=newitem,limit=1] Motion[0] set value -0.1d
      data modify entity @e[tag=newitem,limit=1] Motion[2] set value -0.1d
      tag @e[tag=newitem,limit=1] remove newitem
      

      Note: This is on singleplayer, I haven't been able to test on multiplayer yet.

            Unassigned Unassigned
            ekul6547 ekul6547
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: