Skip to content

🐛 Tags are assigned incorrectly in summon.mcfunction for vanilla display entities #437

@PhinxDash

Description

@PhinxDash

🛑 Before you Start

  • I have searched existing bug reports for my problem.
  • I have read the F-A-Q.
  • I am using the latest version of Animated Java
  • I will only report a single bug in this report. If I have found multiple bugs, I will create a separate report for each one.

🗣️ Describe the bug

The tags for vanilla display entities are incorrect in summon.mcfuntion after exporting.

Here is the full relevant line in the generated data pack.

summon minecraft:item_display ~ ~ ~ { Tags:[ 'aj.new', 'aj.global.entity', 'aj.global.root', 'aj.blueprint.entity', 'aj.blueprint.root' ], teleport_duration: 0, interpolation_duration: 1, Passengers:[{id:"minecraft:item_display",Tags:["aj.new","aj.global.entity","aj.global.data","aj.blueprint.entity","aj.blueprint.data"],data:{rigHash:"66b1adbcf6258fa4ed78bfd5c505924fe0b643f54c1708f06947feeeedbeadcc",locators:{locator1:{posx:0f,posy:0.1875f,posz:0f,rotx:0f,roty:0f,uuid:""},locator2:{posx:0f,posy:0.125f,posz:0f,rotx:0f,roty:0f,uuid:""},locator3:{posx:0f,posy:0.0625f,posz:0f,rotx:0f,roty:0f}},cameras:{},uuids:{data_data:"",bone_menu:"",locator_locator1:"",locator_locator2:"",locator_locator3:"",text_display_text_example:"",item_display_item_example:"",block_display_block_example:"",bone_center:""}}},{Tags:["aj.blueprint.bone","aj.blueprint.bone.center.child","aj.blueprint.bone.center.child.bone","aj.blueprint.bone.center.decendant","aj.blueprint.bone.center.decendant.bone","aj.blueprint.bone.center.tree","aj.blueprint.bone.center.tree.bone","aj.blueprint.bone.menu","aj.blueprint.bone.menu.tree","aj.blueprint.bone.menu.tree.bone","aj.blueprint.display_node.menu","aj.blueprint.entity","aj.blueprint.node","aj.blueprint.node.menu","aj.global.bone","aj.global.bone.center.child","aj.global.bone.center.child.bone","aj.global.bone.center.decendant","aj.global.bone.center.decendant.bone","aj.global.bone.center.tree","aj.global.bone.center.tree.bone","aj.global.bone.menu.tree","aj.global.bone.menu.tree.bone","aj.global.display_node.menu","aj.global.entity","aj.global.node","aj.global.node.menu","aj.new"],id:"minecraft:item_display",transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0f,0f,0f]},interpolation_duration:1,teleport_duration:0,item_display:"head",item:{id:"minecraft:white_dye",components:{"minecraft:item_model":"animated_java:blueprint/blueprint/menu","minecraft:custom_model_data":{strings:["default"]}}},height:48f,width:48f},{Tags:["aj.blueprint.bone.center.child","aj.blueprint.bone.center.child.text_display","aj.blueprint.bone.center.decendant","aj.blueprint.bone.center.decendant.text_display","aj.blueprint.bone.center.tree","aj.blueprint.display_node.text_example","aj.blueprint.entity","aj.blueprint.node","aj.blueprint.node.text_example","aj.blueprint.text_display","aj.blueprint.text_display.text_example","aj.global.bone.center.child","aj.global.bone.center.child.text_display","aj.global.bone.center.decendant","aj.global.bone.center.decendant.text_display","aj.global.bone.center.tree","aj.global.display_node.text_example","aj.global.entity","aj.global.node","aj.global.node.text_example","aj.global.text_display","aj.new"],id:"minecraft:text_display",transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0f,0f,0f]},interpolation_duration:1,teleport_duration:0,height:48f,width:48f,text:"Hello World!",background:1087515692,line_width:200,shadow:1b,see_through:1b,alignment:"left"},{Tags:["aj.blueprint.bone.center.child","aj.blueprint.bone.center.child.item_display","aj.blueprint.bone.center.decendant","aj.blueprint.bone.center.decendant.item_display","aj.blueprint.bone.center.tree","aj.blueprint.display_node.item_example","aj.blueprint.entity","aj.blueprint.item_display","aj.blueprint.item_display.item_example","aj.blueprint.node","aj.blueprint.node.item_example","aj.global.bone.center.child","aj.global.bone.center.child.item_display","aj.global.bone.center.decendant","aj.global.bone.center.decendant.item_display","aj.global.bone.center.tree","aj.global.display_node.item_example","aj.global.entity","aj.global.item_display","aj.global.node","aj.global.node.item_example","aj.new"],id:"minecraft:item_display",item:{id:"minecraft:diamond",count:1}},{Tags:["aj.blueprint.block_display","aj.blueprint.block_display.block_example","aj.blueprint.bone.center.child","aj.blueprint.bone.center.child.block_display","aj.blueprint.bone.center.decendant","aj.blueprint.bone.center.decendant.block_display","aj.blueprint.bone.center.tree","aj.blueprint.display_node.block_example","aj.blueprint.entity","aj.blueprint.node","aj.blueprint.node.block_example","aj.global.block_display","aj.global.bone.center.child","aj.global.bone.center.child.block_display","aj.global.bone.center.decendant","aj.global.bone.center.decendant.block_display","aj.global.bone.center.tree","aj.global.display_node.block_example","aj.global.entity","aj.global.node","aj.global.node.block_example","aj.new"],id:"minecraft:block_display",block_state:{Name:"stone",Properties:{}}},{Tags:["aj.blueprint.bone","aj.blueprint.bone.center","aj.blueprint.bone.center.tree","aj.blueprint.bone.center.tree.bone","aj.blueprint.display_node.center","aj.blueprint.entity","aj.blueprint.node","aj.blueprint.node.center","aj.global.bone","aj.global.bone.center.tree","aj.global.bone.center.tree.bone","aj.global.display_node.center","aj.global.entity","aj.global.node","aj.global.node.center","aj.global.root.child","aj.global.root.child.bone","aj.new"],id:"minecraft:item_display",transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0f,0f,0f]},interpolation_duration:1,teleport_duration:0,item_display:"head",item:{id:"minecraft:white_dye",components:{"minecraft:item_model":"animated_java:blueprint/blueprint/center","minecraft:custom_model_data":{strings:["default"]}}},height:48f,width:48f}], }

It is a very large block of text, but there is a text_display, item_display, and a block_display, along with 2 regular bones. The regular bones have what I'm assuming are the correct tags, aside from those relating to the vanilla displays, but the vanilla displays have incorrect and missing tags. For example, none of them have tags of the format "aj.blueprint.bone.". I don't have the best knowledge of what the tags should be, but I also notice that there are tags that seem to be wrongly placed. For example, the item_display has the tag aj.global.block_display.

This means that properly selecting vanilla display entities with tags is not possible. Additionally, things like the default pose don't work, since it uses selections like:
execute on passengers if entity @s[tag=aj.blueprint.bone.text_example] run

⚠️ Error Message

🔄️ How to Reproduce

Here is the blueprint I was using. This is the only blueprint I have been testing with recently, and this is the first time I have tested with vanilla displays, so I don't know how widespread of an issue this is. Note that the selected export version was 1.21.5, but the issue template only allows selecting 1.21.4 so that is what I put. The AJ version was 1.7.3. Note that in the attached blueprint, the vanilla displays are in a folder together rather than having their own. However, I also tested separately with the vanilla displays each being in their own folders, but the issue persisted.

test.ajblueprint.zip

✅ Expected Behavior

The tags in the generated data pack should match what is expected by the data pack, what is in the documentation, etc. relating to vanilla display entities.

💡 Solutions & Alternatives

No response

🟩 Minecraft Version

1.21.4

🟦 Blockbench Version

4.12.6

💻 Operating System

MacOS

📃 Installed Blockbench Plugins

No response

⛰️ Minecraft Environment

N.A.

Metadata

Metadata

Assignees

Labels

⚠️ Unable to ReproduceThe developers are unable to re-create this issue locally🐛 BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions