Magical Creepers
Magical Creepers - Bippity Boppity Boom
This is a small, lightweight plugin that offers a fun mechanic into the game. Creepers now have magical abilities! Instead of damaging you and their surroundings, they cast you with spells (negative potion effects) at the point of their demise.
Features
- When Creepers explode on a player, they are given various potion effects.
- Creepers emit particles to signify their magical abilities
- Creepers no longer damage terrain or the player
Installation
To install Magical Creepers, all you need to do is drag the .jar that you can download on the bar to the right into your server's "plugins" folder.
Source Code
The Source Code for this plugin, as per the CPL1.0, is available on GitHub in it's repository.
@DavMicrofix
maybe cause its outdated??
every explosion gives a error :
23:33:35 [SEVERE] Could not pass event EntityDamageByEntityEvent to Magical Cree pers org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:460) at net.minecraft.server.Explosion.a(Explosion.java:152) at net.minecraft.server.World.createExplosion(World.java:1532) at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:225 ) at net.minecraft.server.EntityCreeper.F_(EntityCreeper.java:79) at net.minecraft.server.World.entityJoinedWorld(World.java:1262) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:1 06) at net.minecraft.server.World.playerJoinedWorld(World.java:1244) at net.minecraft.server.World.tickEntities(World.java:1151) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftItem cannot be cast to org.bukkit.entity.LivingEntity at com.olympuspvp.caldabeast.MagicalCreepers.addRandomEffect(MagicalCree pers.java:69) at com.olympuspvp.caldabeast.MagicalCreepers.onCreeperExplode(MagicalCre epers.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:302)
Is there a way I can make it so that they still do damage to players (but not to blocks) AND give the potion effect?
Also, my creepers always seem to give the same effect... it appears to be Fire Resistance, although I'm not sure since I'm in creative mode.
@izak1245
This isn't trying to copy other mods ;)
Cool works really smooth! Just wondering if in the future you wanna add like what effects are used by the creepers in the config? Maybe even add like the different creepers give more effects that would be cool like in the config party creeper: 20% and when a "party creeper"(Regular creeper) explodes it leaves cake or earth leaves like a dirt sphere. That would be really cool!
@izak1245
Yes. Thats how it works!
So like in wacky creepers the magic creepers how when they explode they give you a random potion effect such as blindness slowness ect?