Armorstand Commands
Add Commands To Armorsatnds!
Armorstand Commands
Armorstand Commands
How To Use
To make an armorstand a command stand run: ```/execute as <armorstand> run function ascmd:make_command_stand``` - this will make the armorstand a 'command stand' (this changes the uuid for future commands, however the main armorstand is still the same). To add a command to your command stand run: ```/execute as <command_stand> run function ascmd:add_cmd {type:"<interact or attack>",cmd:"<your cmd>"}``` interact will be for right click and attack will be for left click. The cmd will be run whenever the specified event (attack or interact) occurs to that command stand, you can remove a command by setting the cmd to be "". To remove a command stand run: ```execute as <command_stand> run function ascmd:remove_command_stand``` this will remove the interaction, leaving just an armorstand To uninstall the pack run: ```ascmd:uninstall``` this will remove all traces of the datapack (NOTE: on older versions this does not exist and you have to manually remove the stands)
If you ever forget how to use this pack just run: ```/function ascmd:help```
How To Install
Just place the zip file in the datapacks folder of your world and type ```/reload``` or reload the world.