Commit Graph

72 Commits

Author SHA1 Message Date
Bukkit/Spigot e0c7fc6bf5 [Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-16 18:25:17 +00:00
Bukkit/Spigot 4c80a49933 Generic cleaning
By: Erik Broes <erikbroes@grum.nl>
2012-01-15 14:37:30 +01:00
Bukkit/Spigot 77c577bdf8 Added an EntityCreatePortalEvent
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 11:58:03 +00:00
Bukkit/Spigot a80bc820c6 Added new methods to set a players respawned level/exp/totalExp in PlayerDeathEvent. Thanks to Feildmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:54:03 +00:00
Bukkit/Spigot 40f4710726 Added ItemDespawnEvent
By: Feildmaster <admin@feildmaster.com>
2011-10-16 20:47:49 -05:00
Bukkit/Spigot aaab1cba23 Generic cleanup of warnings, whitespace and style.
By: Erik Broes <erikbroes@grum.nl>
2011-12-25 16:02:30 +01:00
Bukkit/Spigot 8feccf30cc EntityExplodeEvent: Add constructor that takes yeild parameter
The Ender Dragon causes blocks to explode as it flies through them.
These blocks by default do not drop any items, so the default yeild for
this explosion event is 0. Previously the event had the default value
hard-coded to 0.3F, which is inaccurate in this situation.

We derecate the constructor with no yield, as any default yield should
really be left up to the implementation to decide, not the API.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 23:56:15 +11:00
Bukkit/Spigot ae4cd083ac Extend EntityCombustEvent to allow setting combustion duration.
Also extend with two new events that track the entity or block that caused
the combustion.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 20:50:38 +11:00
Bukkit/Spigot aff51bff11 Javadoc typo. I can now sleep soundly at night.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 01:24:47 +01:00
Bukkit/Spigot 5db08677a3 Added SlimeSplit event. Thanks garbagemule!
The SlimeSplit event is fired when a Slime attempts to split upon death. The event may be cancelled, and the amount of smaller slimes may be customized.

By: EvilSeph <evilseph@gmail.com>
2011-09-30 19:34:06 -04:00
Bukkit/Spigot a8e72bdb91 Many javadoc fixes thanks to Celtic Minstrel
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 02:56:40 +01:00
Bukkit/Spigot 6c051c6e18 Added RegainReason.SATIATED.
This reason is used when a player regains health from generating due to their hunger being satisfied.

By: EvilSeph <evilseph@gmail.com>
2011-09-22 01:34:31 -04:00
Bukkit/Spigot 547ab9f1be Added FoodLevelChange event.
By: EvilSeph <evilseph@gmail.com>
2011-09-21 18:52:23 -04:00
Bukkit/Spigot a9cffeb33d Added DamageCause.STARVATION.
By: EvilSeph <evilseph@gmail.com>
2011-09-21 17:11:53 -04:00
Bukkit/Spigot ff51e5c299 Fixed an extremely dangerous typo caused by @dkdunnings!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 17:37:24 +01:00
Bukkit/Spigot 039898c280 Implements the ability to customise and disable Player death messages.
By: Rigby <rigby@onarandombox.com>
2011-09-21 16:33:29 +01:00
Bukkit/Spigot e66d7aba10 Added methods to control dropped EXP from EntityDeathEvent, and made a subevent for setting players respawned-exp
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 15:40:00 +01:00
Bukkit/Spigot cc09f73499 Changed documentation for RegainReason.REGEN ENUM to reflect latest code.
By: EvilSeph <evilseph@gmail.com>
2011-09-20 21:13:26 -04:00
Bukkit/Spigot 032a212512 Added events for endermen pickup/placement blocks and methods to get/set the block that an enderman is holding. Thanks Wizjany
By: Wizjany <wizjany@gmail.com>
2011-09-17 20:18:43 -04:00
Bukkit/Spigot df275c8376 Added DamageCause.SUICIDE.
By: EvilSeph <evilseph@gmail.com>
2011-08-12 21:35:55 -04:00
Bukkit/Spigot 8054b4db89 Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent.
By: sunkid <sunkid@iminurnetz.com>
2011-07-19 10:21:17 -07:00
Bukkit/Spigot 3c852a3c8f Remove superfluous javadocs
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 17:02:03 +02:00
Bukkit/Spigot 402794beff More JavaDoc improvements.
By: EvilSeph <evilseph@gmail.com>
2011-07-15 01:15:05 -04:00
Bukkit/Spigot 1325d8f15d Added reasons for entities regaining health.
By: EvilSeph <evilseph@unaligned.org>
2011-06-28 20:10:50 -04:00
Bukkit/Spigot c54128077a More JavaDoc improvements.
By: EvilSeph <evilseph@unaligned.org>
2011-06-24 02:32:04 -04:00
Bukkit/Spigot 08cfa11ba6 JavaDoc cleanup.
By: EvilSeph <evilseph@unaligned.org>
2011-06-22 17:05:45 -04:00
Bukkit/Spigot e2779f623c Added SpawnReasons to CreatureSpawn events. Thanks winsock!
By: EvilSeph <evilseph@unaligned.org>
2011-06-21 15:58:41 -04:00
Bukkit/Spigot d081f1a06f Added Target Reasons for Wolf events. Thanks Deaygo!
By: EvilSeph <evilseph@unaligned.org>
2011-06-18 22:29:07 -04:00
Bukkit/Spigot 31e3c65440 Added the concept of a projectile.
By: sunkid <sunkid@iminurnetz.com>
2011-06-18 08:09:41 -07:00
Bukkit/Spigot 5d515f5a85 Added EntityRegainHealthEvent. Thanks TimWolla!
By: EvilSeph <evilseph@unaligned.org>
2011-06-17 16:47:52 -04:00
Bukkit/Spigot 8e7ef46f6f Added the concept of an Explosive.
By: sunkid <sunkid@iminurnetz.com>
2011-06-14 10:55:47 -07:00
Bukkit/Spigot c5408f1030 Generic cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-06-12 01:18:17 +02:00
Bukkit/Spigot 4d68ae490e Added ItemSpawnEvent. Thanks myers!
By: EvilSeph <evilseph@unaligned.org>
2011-06-11 00:26:18 -04:00
Bukkit/Spigot 10d7e607c8 Added EntityTame event. Thanks halvors!
By: EvilSeph <evilseph@unaligned.org>
2011-06-09 03:57:50 -04:00
Bukkit/Spigot 2c4ba8815e Added various 1.6 portal events.
By: Stephen <stephen@jazer.com>
2011-06-07 14:12:08 -04:00
Bukkit/Spigot 12a93a05ff Added get/setLastDamageCause. Thanks sunkid!
By: EvilSeph <evilseph@unaligned.org>
2011-05-16 00:20:58 -04:00
Bukkit/Spigot 855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00
Bukkit/Spigot de05942efa Added a lot of events relating to weather, including those for entities. Thanks wizjany!
By: EvilSeph <evilseph@unaligned.org>
2011-04-25 19:46:10 -04:00
Bukkit/Spigot 08decac14e Added painting events (thanks verrier and tanelsuurhans)
By: Stephen <stephen@jazer.com>
2011-04-11 23:06:34 -04:00
Bukkit/Spigot b88fc4c09c Added LIGHTNING as a possible source of damage
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 17:29:07 +01:00
Bukkit/Spigot 97fd93727d added some API for entities
By: Tahg <tahgtahv@gmail.com>
2011-04-04 00:44:52 -04:00
Bukkit/Spigot 9418264170 Line endings, consistency!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-27 21:27:27 +01:00
Bukkit/Spigot 020da84ad2 Some more backwards incompatible changes (minor though), also a ton of small cleanup.
onPluginEnable(PluginEvent event)   -> onPluginEnable(PluginEnableEvent event)
onPluginDisable(PluginEvent event)  -> onPluginDisable(PluginDisableEvent event)
onVehicleUpdate(VehicleEvent event) -> onVehicleUpdate(VehicleUpdateEvent event)
onWorldSave(WorldEvent event)       -> onWorldSave(WorldSaveEvent event)
onWorldLoad(WorldEvent event)       -> onWorldLoad(WorldLoadEvent event)

By: Erik Broes <erikbroes@grum.nl>
2011-03-26 22:21:20 +01:00
Bukkit/Spigot 6a1bad5d41 Renamed many events/constants to be not past tense <-- Major Break says: "HI"
By: Erik Broes <erikbroes@grum.nl>
2011-03-13 15:21:09 +01:00
Bukkit/Spigot e36fc0c867 Added DamageType.VOID
By: Gunther De Wachter <GuntherDW@gmail.com>
2011-03-17 18:21:40 +01:00
Bukkit/Spigot de5eddce7d Purged deprecated MobType and MobSpawner
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-07 16:29:03 +00:00
Bukkit/Spigot 2c05cb355f added yield to explosions
By: Tahg <tahgtahv@gmail.com>
2011-02-19 11:09:23 -05:00
Bukkit/Spigot a36de75a17 Shifting damage events per http://forums.bukkit.org/threads/oops-i-broke-your-plugins.599/#post-67424 (This breaks stuff!)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-19 17:08:14 +00:00
Bukkit/Spigot 6190a55cad Added CREATURE_SPAWN event
By: ss2man44 <frigids@gmail.com>
2011-01-11 21:29:48 -05:00
Bukkit/Spigot e30e2d1364 Windows and executable, should be 0644
By: Erik Broes <erikbroes@grum.nl>
2011-02-12 16:16:14 +01:00