No Mob Sun Burn
No Mob Sun Burn
No Mob Sun Burn is a basic plugin that prevents mobs from burning at sunlight. This plugin prevent hostile mobs to ignite when they are in contact with the sun light.
Mobs Concerned
- Zombies
- Skeletons
Instalation
You just need to drop the .jar file in your plugin folder and the job is done!
Others Informations
- This plugin doesn't create any file or folder.
- This plugin doesn't use permissions.
- This plugin doesn't use commands.
Created by Beninot
@janie177 he did this:
@janie177
the EntityCombustEvent. You can also check for the EntityDamageEvent, but if you cancel that one (if the entityType is a monster + if the damage reason is Fire) the monsters... well, they bounce up and down. It is because the damage animation still kicks in, so better use the Combust event... taht is teh one that was used here aswell.
You literaly just cancelled the event :/ okay. I hoped you would have at least checked for the damage cause and if it was the sunlight wich caused the fire, that way fire arrows would have let them burn, aswell as lava.
@Beninot
Nah i dont think it was a error at all. Idea that you should add if possible and we all would use it i think. Add multi world support and a config file, So that we can make some world have normal mobs and some worlds have non-burning mobs. Please Please add this!
Can you make it so skeletons arent afraid to come into the daylight. like having the same AI as zombies ?
@zachrywilsn
getting this in console think it should say enabled aince it seams to work
[06:10:01 INFO]: [No Mob Sun Burn] Enabling No Mob Sun Burn v1.0 [06:10:01 INFO]: [No Mob Sun Burn] No Mob Sun Burn disabled
@janie177
Hi, I would be really happy to show you how it works, start a private conversation with me for more informations.
Cordially, Beninot
Can I have access to the sourcecode? I really wonder how you prevented them from burning.
@zachrywilsn
Hi Zachrywilsn,
Spiders and Creepers
My plugin doesn't include spiders and creepers because they don't burn at sunlight so it doesn't change anything if I prevent them from burning at sunlight.
1.7.2 Compatibility
I tested my plugin and it works with the 1.7.2 dev of Bukkit.
It works with it like most of the plugins because, most of the code stuffs in bukkit 1.7.2 are the same as in bukkit 1.6.4.
Thank you,
Beninot
@Beninot
what about spiders and creepers? and will you 1.7.2 update? jw
@alek123222
Check at the right the download link is now there it has been aproved by bukkit!
Good just what I needed but where is the download link