1

Minecraft Rightclicking Item commites Suicide? NEED HELP

MrSlimeHD_'s Avatar MrSlimeHD_1/27/16 12:46 pm
1 emeralds 326 2
1/27/2016 3:29 pm
JozyP's Avatar JozyP
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.
Posted by MrSlimeHD_'s Avatar
MrSlimeHD_
Level 13 : Journeyman Miner
1

Create an account or sign in to comment.

2

1
01/27/2016 3:29 pm
Level 42 : Master Pixel Painter
JozyP
JozyP's Avatar
1.8 doesn't support numerical IDs, so you have to use /scoreboard objective add Death stat.useItem.minecraft.carrot_on_a_stick
1
01/27/2016 1:23 pm
Level 21 : Expert Fish
MrCatSquid
MrCatSquid's Avatar
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
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome