i need help with finding a command

Onaylı Üye
Katılım
24 Şub 2023
Mesajlar
59
Tepki puanı
7
Ödüller
3
Yaş
24
3 HİZMET YILI
I need to execute a command at an armor stand that's has a special helmet
With a special trim or a special name I don't care I just need a command that does that.
`execute as @e[type=armor_stand,nbt={ArmorItems:[{},{},{},{components:{"mineraft:trim":{material:"minecraft:copper",pattern:"minecraft:silence"},count: 1}}]}] run tellraw @a "asda"`
Something like this but it works.
 
Onaylı Üye
Katılım
24 Şub 2023
Mesajlar
59
Tepki puanı
7
Ödüller
3
Yaş
24
3 HİZMET YILI
why use ChatGPT i tried with ChatGPT, fucking useless
 
Onaylı Üye
Katılım
24 Nis 2024
Mesajlar
74
Tepki puanı
2
2 HİZMET YILI
Use Google Chatbot (Gemini)!
You'll find the answer
 
Üye
Katılım
22 Ocak 2020
Mesajlar
48
Tepki puanı
3
Ödüller
5
Yaş
30
6 HİZMET YILI
execute as @e[type=armor_stand,nbt={ArmorItems:[{},{},{id:"minecraft:copper_helmet",tag:{CustomModelData:<your_custom_model_data>}},{},{}]}] run <your_command>

Replace <your_custom_model_data> with the custom model data of your special helmet. Replace <your_command> with the command you want to execute.

For example, if your custom model data is 123, and you want to execute the command /say Hello at the armor stand, the command would look like this:
execute as @e[type=armor_stand,nbt={ArmorItems:[{},{},{id:"minecraft:copper_helmet",tag:{CustomModelData:123}},{},{}]}] run say Hello

This command will execute the command /say Hello at any armor stand with a copper helmet with custom model data of 123. Adjust the command according to your specific needs.
 
Uzman Üye
Katılım
27 Eki 2021
Mesajlar
196
Tepki puanı
7
Ödüller
3
Yaş
25
4 HİZMET YILI
i wanna play minecraft , but mojang is problem , i cant install , can u help