1

Custom creepers?

Thebunnycraft's Avatar Thebunnycraft9/17/15 9:01 am
1 emeralds 463 5
10/11/2015 10:57 pm
Bbaronx's Avatar Bbaronx
Can you make a custom creeper that only explodes a few special blocks like cobble stone in a mine? Need it for custom map
Posted by Thebunnycraft's Avatar
Thebunnycraft
Level 38 : Artisan Toast
21

Create an account or sign in to comment.

5

1
10/11/2015 10:57 pm
Level 6 : Apprentice Engineer
Bbaronx
Bbaronx's Avatar
If you have to use a creeper that runs up to and attacks a player you need to refer to something like InfinteReaper suggested.
Else you could try something like this (pardon me if I'm wrong, doing this off the top of my head)
execute @e[type=Creeper,r=#] ~ ~ ~ summon Fireball ~ ~ ~ {Motion:[0.0,-1.0,0.0],direction:[0.0,-1.0,0.0],ExplosionPower:#}
Replace the #'s with the number you desire for max detection radius from command block and explosion power respectively to blow blocks up depending on blast resistance, and all you have to do is add a block doing
kill @e[type=Creeper,r=#]
after the previous command succeeds.
1
10/11/2015 10:33 pm
Level 5 : Apprentice Warrior
InfiniteReaper
InfiniteReaper's Avatar
A fix that comes to my mind right away would be setting blocks in the area you want the creeper to explode on a loop so that it replaces the block if it is destroyed, and if you want to be really technical you could tag the items in that area and destroy them as well.

Then, set up another command block that will set the creeper's fuse time very high and its explosion radius to zero if it's outside the area you want it to explode. And when it comes inside the area you want it to explode, change its fuse time and explosion radius back to normal.

Or, you could probably find a way to tag the creepers when they are in the radius of the area you want them to explode, and as soon as they blow up you could remove the specific blocks via command blocks that activate afterward.

I know I'm not offering you any actual commands to accomplish this or anything, it would be somewhat complicated to pull off. But I'm just brainstorming. Hopefully it helped.
1
09/17/2015 10:28 am
Level 22 : Expert Network
YTCereal
YTCereal's Avatar
1
09/17/2015 10:57 am
Level 21 : Expert Blockhead
Zoyarox
Zoyarox's Avatar
That does not solve his problem...
1
09/17/2015 9:52 am
Level 21 : Expert Blockhead
Zoyarox
Zoyarox's Avatar
I heared about something like that Sethbling made...
But I think it didn't work (anymore).
For my map, I used an explosion and a fill command to only fill cobble.

Otherwise you may be able to execute this fill command right before it explodes. Would use it'S "Fuse:" NBT tag
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome