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

Item display position interpolation not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w07a, 23w31a
    • 23w06a, 1.19.4 Pre-release 3, 1.19.4 Release Candidate 2, 1.19.4, 1.20 Pre-release 1, 1.20.1
    • None
    • Confirmed
    • Commands, Entities
    • Important
    • Platform

      Want to start off this report by tipping my hats to the devs and expressing gratitude at how incredible of a feature this is for developers and will open up an unspeakable amount of new opportunities, thank you for giving this to the community.

      While messing with the new feature after it came out, came to a disappointing realization that there seems to be no position interpolation (showcased in the video: https://youtu.be/H-_zwxMdP_U ). Based on the nature of this feature, I'm led to believe the lack of this would be a bug as it makes teleporting it quite jarring and not usable as a moving thing (which opens up so many more opportunities).

      Some other notes that may be relevant as to this bug:

      • because of the non-ticking nature of this entity, it doesn't have the built-in position interpolation that living entity has, though the usage properties of it make position interpolation very relevant.
      • similar behavior can be seen with area effect clouds even though it is a ticking entity
      • marker entity gets a pass to be non-ticking because it is completely server side and does not render on client side
      • position interpolation can be mimicked with TRSR transformation, but the results are unstable and resource intensive. This was a tested alternative to this bug before reporting, but between this and the mounting not working we came to this conclusion. https://youtu.be/qD5JjeXNGvI

      Tests were ran both through command blocks to achieve the teleporting to me, as well as verified on the latest versions of fabric as we're more comfortable doing that kind of development over the command system, but can verify it on both vanilla and fabric, as well as singleplayer and on a local server. This video shows a fabric version of the testing (compared to vanilla on the others) where you can see unstable results when pausing/unpausing the games and using frame perfect packets to move the entity: https://youtu.be/I_PKHfFJ_BY

      Was doing some searching of the issues and found this issue MC-259816 which addresses it in a similar way, at this time you can't reliably mount these display items on other entities without it breaking, allowing for NO way to smoothly move these display items (as mounting an entity that does have that position interpolation would also be a "bandaid")

      The expected behavior I would think to see with this feature would be that you can move the position/rotation (as in yaw/pitch) of these item displays and have them smoothly teleport, like other entities in the game. Allowing this, and fixing whatever is going on with the mounting of them would be so incredible!

      Code/commands can be included if needed, although the behavior is replicable by moving it at all, so we figured that no specific case was required at this point.

      Thanks for reading/checking this out!

            Unassigned Unassigned
            Joshinn Joshinn
            Votes:
            45 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: