1

Command Block, please help!

Calafriok8 •9/26/19 9:03 pm
•
114
•
9/27/2019 3:35 am
Hey guys, okay? I have some doubts about the command block, not so simple, as a little complex, I wonder if I can activate the command "setblock" after killing any mob, with that system of "scoreboard" and "stat.kill.enemy.skeleton"..

Another question and you can, for example, drop an item on a pressure plate and activate a command, but with a specific name, for example, or command block only activate the item name for 'Creeper'..

Thank you!
Brazilian here, sorry for the mistakes!
Posted by
Calafriok8
Level 1 : New Miner
0

  Have something to say?

Join • Sign in

1

HoboMaggot
• 09/27/2019 3:35 am
• Level 56 : Grandmaster Blob
If its killing any of a certain mob (without nbt):
/scoreboard objectives add kill.skeleton stat.kill.enemy.skeleton

Repeating cmd block, Active: /execute as @a[scores={kill.skeleton=1}] at @s run setblock ~ ~ ~ air
Chain cmd block, Conditional & active: /execute as @a[scores={kill.skeleton=1}] run scoreboard players reset @s kill.skeleton
1

Welcome