Hi, i know this is an old thread, but im trying to find a dropped item on the ground (Which this command did) but i would like to setblock on the location of the item. Is that possible?
/scoreboard objective add deaths DeathCounter
give @a[scores={deaths=1..}] minecraft:oak_log
title @a[scores={deaths=1..},team=Red] title {"text":"Red Team -1","color":"red"}
title @a[scores={deaths=1..},team=Blue] title {"text":"Blue Team -1","color":"blue"}
scoreboard players reset @a[scores={deaths=1..}] deaths
/give @p minecraft:potion{CustomPotionEffects:[{Id:21,Amplifier:10,Duration:36000},{Id:10,Amplifier:10,Duration:100}],CustomPotionColor:16768519,display:{Name:'{"text":"Potion of Freya","color":"#ff99cc"}',Lore:['{"text":"The Potion of Life","color":"#ffffff"}']}}
To add Bolds, colors, italics, etc you have to use JSON format.
Sorry for the thread necromancy, but I've been looking for the solution for this for two hours.
My situation: I am running a lightly modded MC 1.15.2 using the Forge Modloader. I hate the wandering trader; I find him to be a nuisance, particularly in my creative test worlds. Not nearly as bad of a hassle is that even after you've killed the trader, you still have the Leads and Leather laying around from the trader llamas.
So, I set up four repeating command blocks set to "Always active:
To get rid of the wandering trader:
/kill @e[type=minecraft:wandering_trader]
To kill the llamas:
/kill @e[type=minecraft:trader_llama]
To get rid of the Leads (note that punctuation and capitalization are essential):
/kill @e[type=item, name="Lead"]
And to get rid of the Leather:
/kill @e[type=minecraft:item, name="Leather"]
Done. It works like a charm, and I did it without mucking about with player goals and scoreboards.
0
You could randomly give a role once and stop when the role has been taken
I think that's how to team command is layed out.
1
0
0
Looks like it's resurrecting to me
0
Singleplayer: when the player is in the boss fight, detect if the boss doesn't exist
Multiplayer: advancements on when you kill a mob with NBT
0
You could detect if there's air beneath them and slowly teleport them down
0
I would do this:
0
?
0
1
How about this?
1
To add Bolds, colors, italics, etc you have to use JSON format.
0
Here's a tutorial by Cloud Wolf on /data storage.
0
I don't think Bedrock has Forge Modloader
0
Doesn't this command work pretty well?
0
Chat
Repeating And Chain Command Blocks