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

The Rotation of the item_display rendered model is inaccurate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.6
    • None
    • Confirmed
    • Commands, Networking
    • Normal
    • Platform

      1. What I expected to happen was...:
        When I use  /data  or /tp commands to modify it from player's Rotation datas ,the Rotation of the item_display are the same as the players. However ,the rendered model is different from the actual angle.

      What actually happened was...:
      The model is not rendered correctly and "jumps" when moving the perspective.But if I use / data get entity @e[tag=test,limit=1] Rotation and its the same as the player's

      Steps to Reproduce:
      1. Apply the attached resource pack
      2. Commands are as follow

      /summon item_display ~ ~ ~ {Tags:["test"],item:{id:"minecraft:carrot_on_a_stick",count:1b,components:{"minecraft:custom_model_data":1001}}}

      3.repeating_command_block:

      /execute as @a at @s anchored eyes positioned ^ ^-0.35 ^1 run tp @e[tag=test] ~ ~ ~ ~ ~

      4.chain_command_block

      /execute as @e[tag=test] at @s rotated as en_book run tp @s ~ ~ ~ ~ ~

      5. if "billboard" change to "center",the model is correct.

      6.There will be an offset every time I move the model

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

              Created:
              Updated:
              CHK: