1

Commandblock help PLease!!!

1 emerald 11 replies 131 views | started 11/21/2017 3:48 pm by Rush_Sykez
Hello i am trying to set up a command that Poisons or slows all mobs in a specific radius.

Please if you could help that would be great.
Posted by avatar
Rush_Sykez
Level 2 : Apprentice Network
1

11 replies

1
11/22/2017 4:56 am
Level 2 Apprentice Network
Rush_Sykez
avatar
can anyone help?
1
11/22/2017 8:46 am
Level 12 Journeyman Warrior
pyrotrooper14
avatar
Hey, this is simple.

So, all you have to do is this:-

Remember these codes first :-
<rep> - repeat & always active
<chain> - chain & always active , conditional
<nrm> - impulse block.

THESE CODES ARE JUST FOR YOU TO UNDERSTAND BETTER.

1.Set this contraption.

<rep> /testfor @e[type=!Player,r=5]
<chain> /effect @e[type=!Player,r=5] poison 6 10
<chain> /effect @e[type=!Player,r=5] slowness 2 10

the !Player type entity is any a=entity except the player.

Hope this help, for more command block help [and redstone too] please subscribe , and follow.

-pyrotrooper14 [Minecraft username-PyroCreative]
2
11/21/2017 8:12 pm
Level 2 Apprentice Network
Rush_Sykez
avatar
i am now trying to make a command execute only on zombies this is what i got can anyone see whats wrong?

"/effect @e[type=zombie,r=5] instant_health 4 1"
"/effect @e[type=zombie,r=5] instant_health 4 1"
1
11/22/2017 8:39 am
Level 2 Apprentice Explorer
bartvankeep
avatar
and i saw you using the tellraw command.
if you want to have the zombies be poisond in a radius around the player when they click is you need something like this:
"/tellraw @p ["",{"text":"Kill zombies","color":"green","clickEvent":{"action":"run_command","value":"/effect @etype=zombie,r=5] instant_health 4 1 true"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"The zombies will be damaged if you click this","color":"dark_purple"}]}}}]"
there is some extra estatic added that you dont need to worry about in this command tho.
1
11/22/2017 8:33 am
Level 2 Apprentice Explorer
bartvankeep
avatar
Just so you know the radius is only around the commandblock.
if you want the radius around yourself for instance you'd need to do
/execute <name> ~ ~ ~ effect @e[type=zombie,r=5] instant_health 4 1
1
11/22/2017 8:34 am
Level 2 Apprentice Explorer
bartvankeep
avatar
and if you dont want the particles to show up around the zombies its:
/execute <name> ~ ~ ~ effect @e[type=zombie,r=5] instant_health 4 1 true
1
11/21/2017 6:20 pm
Level 1 New Miner
Nutcracky
avatar
/tellraw @p {"text":"Welcome to the ","color":"aqua","extra":[{"text":"Server","color":"yellow"},{"text":"!","color":"aqua"}]} = Available for chat too.
1
11/21/2017 5:53 pm
Level 2 Apprentice Network
Rush_Sykez
avatar
OMG yes thats it i love you dude thanks :)
1
11/21/2017 5:20 pm
Level 53 Grandmaster Cyborg
Pepijn
avatar
An example:

effect @e[type=!player,r=5] poison 1 1
1
11/21/2017 4:44 pm
Level 2 Apprentice Network
Rush_Sykez
avatar
could i please have it for the world i can try and work from that
1
11/21/2017 4:30 pm
Level 1 New Miner
KidDiamond11
avatar
I know how to poison all entities in the world, but I'm not sure how to just do it in a radius

Search

Browse

Site

© planetminecraft.com

Welcome