Skip to content

πŸ› as_camera function not workΒ #427

@winsrewu

Description

@winsrewu

πŸ›‘ 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

as_camera function not work

⚠️ Error Message

[14:44:53] [Render thread/INFO]: [System] [CHAT] \n[AJ] (from test) -> Camera camera not found!\nPlease ensure that it's name is spelled correctly.\n

πŸ”„οΈ How to Reproduce

  1. summon a rig with camera
  2. run execute as @e[tag=aj.<export_namespace>.root] run function animated_java:<export_namespace>/as_camera {name: '<camera_name>', command:'say Hello, World!'}

βœ… Expected Behavior

I shoud see "Hello, World!" in chat

πŸ’‘ Solutions & Alternatives

data modify storage aj:temp args.uuid set from entity @s data.cameras.$(name)

should be $data modify storage aj:temp args.uuid set from entity @s data.cameras.$(name).uuid

🟩 Minecraft Version

1.20.5

🟦 Blockbench Version

4.12.4

πŸ’» Operating System

Windows

πŸ“ƒ Installed Blockbench Plugins

No response

⛰️ Minecraft Environment

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions