1
Command
I am currently making a map, and i need a way to have a n armor stand detect for named, or unnamed items ths is as far as i got
/execute @e[type=armor_stand,name=MUSKETCRAFTER] run .....
i have no clue how to use scoreboards and i dont know 1.13 commands.... MOJANG CHANGE THE COMMANDS BACK TO THE WAY THEY WERE!!!
pls help me i need an answer T^T
/execute @e[type=armor_stand,name=MUSKETCRAFTER] run .....
i have no clue how to use scoreboards and i dont know 1.13 commands.... MOJANG CHANGE THE COMMANDS BACK TO THE WAY THEY WERE!!!
pls help me i need an answer T^T
Create an account or sign in to comment.
2
3
I don't have enough info for your original question. Do you simply want to detect if an item exists? Or do you want to detect if the item is within a certain range of the armor stand? I'll provide a command for both scenarios.
Normally I would stop there, but I thought you might find the following helpful based off of the rest of your post.
EDIT: Please ignore the "keyboard_arrow_up" in the spoilers, no idea why that is there...
You can read more about /execute HERE, and more about /scoreboard HERE. If you need a video to watch, HERE is a nice one that covers all of the command changes in 1.13. I hope this was helpful! :)
~SUPERIONtheKnight
/execute as @e[type=armor_stand,name="MUSKETCRAFTER"] at @s if entity @e[type=item,nbt={Item:{tag:{display:{Name:"\"NAMEHERE\""}}}}] run .....
/execute as @e[type=armor_stand,name="MUSKETCRAFTER"] at @s if entity @e[type=item,nbt={Item:{tag:{display:{Name:"\"NAMEHERE\""}}}},distance=..10] run .....
Normally I would stop there, but I thought you might find the following helpful based off of the rest of your post.
EDIT: Please ignore the "keyboard_arrow_up" in the spoilers, no idea why that is there...
keyboard_arrow_upkeyboard_arrow_upOld /execute
If you want the old /execute back, use the following as it does exactly the same thing.
If you want to find a block like the old /execute detect did, add if block...
/execute as @e[type=armor_stand,name="MUSKETCRAFTER"] at @s positioned ~ ~ ~ run .....
If you want to find a block like the old /execute detect did, add if block...
/execute as @e[type=armor_stand,name="MUSKETCRAFTER"] at @s positioned ~ ~ ~ if block ~ ~ ~ minecraft:stone run .....
keyboard_arrow_upkeyboard_arrow_up/scoreboard
For the most part, this command is the same. With that said, There are a few changes that are useful to know about.
Statistic names have also changed, you can see a full list of the new names HERE.
/scoreboard players tag ... -> /tag ...
/scoreboard teams ... -> /team ...
/scoreboard players set @s Example 1 {} -> /scoreboard players set @s[nbt={}] Example 1
Statistic names have also changed, you can see a full list of the new names HERE.
/scoreboard objectives add Example stat.drop.minecraft.acacia_boat -> /scoreboard objectives add Example minecraft.dropped:minecraft.acacia_boat
You can read more about /execute HERE, and more about /scoreboard HERE. If you need a video to watch, HERE is a nice one that covers all of the command changes in 1.13. I hope this was helpful! :)
~SUPERIONtheKnight
2
thanks dude :D that is what i needed, tysm (although i guess i only needed the second one. hey the more the merrier!)