I am making a map for my friends and I now i am working on a money system and getting money out of you account is already done but now i am stuck because i need to detect 16 or more gold nuggets with a name and collor in a players inventory i tried:
execute at @p[nbt={Inventory:[{id:"minecraft:gold_nugget",Count:16b,tag:{display:{Name:"{\"text\":\"Coin\",\"color\":\"gold\",\"bold\":\"true\"}"}}}]},distance=..5] run scoreboard players add @p Gold 16 an
and then a chain command with conditional:
execute at @p[nbt={Inventory:[{id:"minecraft:gold_nugget",tag:{display:{Name:"{\"text\":\"Coin\",\"color\":\"gold\",\"bold\":\"true\"}"}}}]},distance=..6] run clear @p minecraft:gold_nugget{display:{Name:"{\"text\":\"Coin\",\"color\":\"gold\",\"bold\":\"true\"}"}} 16
But with this setup it detects when a player has a stack of 16 and i want it to dect if a player has a minimum of 16 so can anynbody please help me thank you! =)
0
If you do this command it will work =)
/summon item ~ ~1 ~ {PickupDelay:32767,Item:{id:"minecraft:diamond",Count:1b,tag:{Enchantments:[{id:"minecraft:infinity",lvl:1s}]}}}
0
Hey so i have a question,
I am making a map and i need to test for only 1 player in a team, and cant figure it out myself.
So if you could help me i would be realy greatfull.
Thank you, =)
Ps. The command needs to be 14+
0
Hey,
I am making a map for my friends and I now i am working on a money system and getting money out of you account is already done but now i am stuck because i need to detect 16 or more gold nuggets with a name and collor in a players inventory i tried:
execute at @p[nbt={Inventory:[{id:"minecraft:gold_nugget",Count:16b,tag:{display:{Name:"{\"text\":\"Coin\",\"color\":\"gold\",\"bold\":\"true\"}"}}}]},distance=..5] run scoreboard players add @p Gold 16 an
and then a chain command with conditional:
execute at @p[nbt={Inventory:[{id:"minecraft:gold_nugget",tag:{display:{Name:"{\"text\":\"Coin\",\"color\":\"gold\",\"bold\":\"true\"}"}}}]},distance=..6] run clear @p minecraft:gold_nugget{display:{Name:"{\"text\":\"Coin\",\"color\":\"gold\",\"bold\":\"true\"}"}} 16
But with this setup it detects when a player has a stack of 16 and i want it to dect if a player has a minimum of 16 so can anynbody please help me thank you! =)
0
i will check it!
0
i tested it it dos not work maybe you forgot somting?
or i did somting wrong?
0
XD
where do you live then? i live in the netherlands and i woke up like 1 hour ago...
0
i made a place for you in the creators room!
nice skin btw
0
i an send you the world if you want when its done?
im a pretty good builder =)
its pvp map with guns btw
https://cimapminecraft.com/guns.html
^^^^^^^^^^^^^^^^^^^^^^
link for recourse pack =)
0
Thanks this is great!
0
doesnt matter.
0
are you there?
0
alricht bye
0
is good. like it =)
0
allricht thats good
0
place a redstone facing to that =)