1
Minecraft Rightclicking Item commites Suicide? NEED HELP
Hello
I am Building an Jump and Run and i wanna give the Player a Item for example a Gunpower and if you Right or Leftclick it he should die Instantly. It would be greath if it would be compartible in Multyplayer.
Ive Tryed this commands but it don't works:
/scoreboard objectives add Death stat.useItem.289
Than a Clock whitch executes this command: /testfor @a[score_useItem.289=1,score_useItem.289_min=1]
Than a Redstone Comparator: /execute @a[score_useItem.289=1,score_useItem.289_min=1] ~ ~ ~ /summon PrimedTnt ~ ~ ~
and /scoreboard players set @a Death 0
PS: Sorry 4 my bad english.
I am Building an Jump and Run and i wanna give the Player a Item for example a Gunpower and if you Right or Leftclick it he should die Instantly. It would be greath if it would be compartible in Multyplayer.
Ive Tryed this commands but it don't works:
/scoreboard objectives add Death stat.useItem.289
Than a Clock whitch executes this command: /testfor @a[score_useItem.289=1,score_useItem.289_min=1]
Than a Redstone Comparator: /execute @a[score_useItem.289=1,score_useItem.289_min=1] ~ ~ ~ /summon PrimedTnt ~ ~ ~
and /scoreboard players set @a Death 0
PS: Sorry 4 my bad english.
Create an account or sign in to comment.
2
1
1.8 doesn't support numerical IDs, so you have to use /scoreboard objective add Death stat.useItem.minecraft.carrot_on_a_stick
1
Well, it's been awhile since I redstoned anything, but I do see a few problems with this. Maybe try doing /kill @a[score_useItem.289=1,score_useItem.289_min=1] That should work better than spawning in tnt, but It may not fix your problem. If you are using a comparator clock, use a repeater clock instead. That's all I got