Using scoreboard to determine who destroyed a block for my minigame (block is randomized). Well, want to add explosives to update. So, if it's destroyed by a player, it say "You destroyed it" or sumtin like that. But, if destroyed by Tnt, want it to say "The block was blown up!
It creates a scoreboard objective that tracks how many of a certain block a player has destroyed. The other way which I forget how to do is when they break the block you can put it in the command args to see which player has it in there inventory.
--> scoreboard players set @a[score_Block_min=1] Block 0
All in different command blocks.
With a fast enough clock, it should be able to test every player in a matter of seconds. If you want it to say their name, you might have to use /tellraw or /title and some JSON magic. But it should work.
*sarcastic comment*
*disapproving look*
I made my own shader pack, by the way.
Using scoreboard to determine who destroyed a block for my minigame (block is randomized). Well, want to add explosives to update. So, if it's destroyed by a player, it say "You destroyed it" or sumtin like that. But, if destroyed by Tnt, want it to say "The block was blown up!
*sarcastic comment*
*disapproving look*
It creates a scoreboard objective that tracks how many of a certain block a player has destroyed. The other way which I forget how to do is when they break the block you can put it in the command args to see which player has it in there inventory.
Hope I helped
All in different command blocks.
With a fast enough clock, it should be able to test every player in a matter of seconds. If you want it to say their name, you might have to use /tellraw or /title and some JSON magic. But it should work.
*sarcastic comment*
*disapproving look*
*sarcastic comment*
*disapproving look*
"Train like you compete, compete like you practice"
Hmmm... I don't know. Make a thread on it maybe.
*sarcastic comment*
*disapproving look*
I'm not so hot on how to forums work, witch category would this go into? Same as this maybe?
"Train like you compete, compete like you practice"
Sure.
*sarcastic comment*
*disapproving look*