Glad I could help!
- AaronRulesALot
- Registered Member
-
Member for 8 years, 1 month, and 4 days
Last active Sat, Aug, 29 2020 16:38:56
- 0 Followers
- 20 Total Posts
- 0 Thanks
- To post a comment, please login.
-
Jul 11, 2017Mr_Moose_ posted a message on Custom Mob Spawner Command Not Working! Please Help! :(Posted in: Commands, Command Blocks and Functions
-
1
Mr_Moose_ posted a message on Custom Mob Spawner Command Not Working! Please Help! :(Posted in: Commands, Command Blocks and FunctionsHere is your new command:
/setblock[/b] ~ ~1 ~ mob_spawner 0 replace {SpawnCount:2,MaxNearbyEntities:5,SpawnRange:10,Delay:20,MinSpawnDelay:440,MaxSpawnDelay:720,RequiredPlayerRange:10,SpawnData:{id:CaveSpider,CustomName:"Cave Dweller",CustomNameVisible:1,PersistenceRequired:1b,CanPickUpLoot:0b,Health:4,Attributes:[{Name:"generic.followRange",Base:8},{Name:"generic.knockbackResistance",Base:0.04f},{Name:"generic.movementSpeed",Base:0.9f},{Name:"generic.attackDamage",Base:10}],HandDropChances:[2F,2F],HandItems:[{id:"minecraft:web",tag:{display:{Name:"Sticky Silk",Lore:["Dropped by Cave Dwellers..."]}},Count:8},{}],ArmorDropChances:[0.3F,2F,2F,2F],ArmorItems:[{id:"minecraft:splash_potion",tag:{Potion:"minecraft:poison"},Count:20},{},{},{}],ActiveEffects:[{Id:1,Amplifier:1,Duration:2147483647}]}}
All you had to do was remove the /'s from "{Potion:\"minecraft:poison\}"
However, you have it so that every time this Cave Dweller dies it drops 20 Poison Potions. You also have them as armor on the spiders. I'm not sure why that is but I won't question it. I also changed the name from "Cave Dwellers" to "Cave Dweller" because of grammer, and that wouldn't look good in a map.
Anyways, just DM me if you have anymore questions.
-
2
Jared_Strom posted a message on Detect player on specific coordinates and give potion effect?Posted in: Commands, Command Blocks and Functionsthere are several ways you could do this.
the first is to use an execute detect command
this command would give 5 seconds of pioson 1 to any player on top of a skull
execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:skull -1 effect @p minecraft:poison 5 1
now if you want it to run a command on a player within 1 block away from a head i would put a small invisible armorstand on every head then run a command at the armor stand
this command summons a invisible, Invulnerable, and small armorStand named zombie_head wherever you are standing
/summon ArmorStand ~ ~1 ~ {CustomName:"zombie_head",CustomNameVisible:1,Small:1,Invisible:1,Invulnerable:1}
then put this command on a clock. this command will make every armorstand named zombie_head give all players within 1 block away poison for 5 seconds.
execute @e[name=zombie_head] ~ ~ ~ effect @a[r=1] minecraft:poison 5 1
- To post a comment, please login.
1