How to test for custom named items with command blocks
Автор: Shadow Gaming
Загружено: 2021-03-11
Просмотров: 11578
Описание:
[IMPORTANT!!!! The syntax for this command was changed in an update. As of 1.21.5, this command will work:
execute if entity @e[type=item,nbt={Item:{id:"minecraft:stick",components:{"minecraft:custom_name":"NAME"}}}]
Replace minecraft:stick with the id of the item, and NAME with your custom name.
Note that this works for items named with an anvil, or with any items given with a command like: give @s minecraft:stick[minecraft:custom_name={text:"NAME"}]
(This does not work if you are using the minecraft:item_name tag. If you don't know what this means, it's not important.)]
This Minecraft tutorial will teach you how to test for dropped items that have been given a custom name
(Please note that my YT account has changed since the creation of this video)
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: