227 Commits

Author SHA1 Message Date
EvilSeph
66ffbbf1c5 This will be re-added after the RB. 2012-01-25 02:08:00 -05:00
Mike Primm
65e4d888c1 [Bleeding] Added EnchantmentTable API. 2012-01-24 06:13:48 -05:00
Zeerix
b516d3bf78 [Bleeding] Added PotionSplashEvent for splash potions. Closes BUKKIT-307 2012-01-24 02:11:38 -05:00
Aidan Matzko
26a6a1edf4 [Bleeding] Added Sheep, Shear and EntityChangeBlock API. Thanks tips48! Closes BUKKIT-512 2012-01-23 18:57:37 -05:00
Tahg
468d45b761 Updated timing code for new event system 2012-01-19 18:41:04 -05:00
Nathan Adams
92bbf8957c Added new PlayerExpChangeEvent and PlayerLevelChangeEvent events. Thanks to feildmaster for the PR. 2012-01-19 16:07:03 +00:00
Erik Broes
257e35d51c Use the type of the eventhandler method's parameter as type rather than specificing it. Thanks zml2008. 2012-01-19 08:13:49 +01:00
zml2008
81dc1c0a52 Added a default to EventHandler.priority()
Fixed HandlerList.unregisterAll()
Fixed incorrect isAssignableFrom check in SimplePluginManager.getRegistrationClass()
2012-01-18 14:46:15 +01:00
Erik Broes
e542942d45 Minor cleanup 2012-01-17 19:51:27 +01:00
Erik Broes
8874b94185 [Bleeding] Added EntityShootBowEvent. Thanks Zeerix. 2012-01-17 19:51:11 +01:00
Zeerix
418d18831c [Bleeding] Added DamageCause.POISON/MAGIC and RegainReason.MAGIC/MAGIC_REGEN for potions 2012-01-17 19:49:06 +01:00
Nathan Adams
86f33b82c9 [Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran. 2012-01-17 19:46:22 +01:00
Erik Broes
88c17a7f86 Generic cleaning 2012-01-15 14:37:43 +01:00
Nathan Adams
a10057b541 Added an EntityCreatePortalEvent 2012-01-15 11:58:03 +00:00
Nathan Adams
bf123c8b02 Fixed typo in Event javadoc, thanks to robin0van0der0v for the PR 2012-01-15 10:43:42 +00:00
Nathan Adams
11adb74a23 Added EntityBlockFormEvent for block forming by entity actions (snowmen etc). Thanks to fieldmaster for the PR. 2012-01-15 09:13:00 +00:00
Nathan Adams
d36385d28f Added new methods to set a players respawned level/exp/totalExp in PlayerDeathEvent. Thanks to Feildmaster for the PR. 2012-01-14 17:54:03 +00:00
Feildmaster
c16210e2e2 Added ItemDespawnEvent 2012-01-14 17:01:03 +00:00
Erik Broes
b9fca3c04d Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Nathan Adams
3ae2ce4c30 Override annotations do not belong here! 2011-12-09 16:24:23 +00:00
Nathan Adams
bbbda45739 Added onStructureGrow event, thanks to md-5. 2011-12-09 16:12:05 +00:00
Andrew Ardill
56f4e89e06 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.
2011-12-07 23:56:15 +11:00
Andrew Ardill
818842e652 Teach the API about Remote Consoles
This will allow us to raise events for remote consoles, and provide access
to them at a later date. Relates to BUKKIT-220
2011-12-07 17:42:32 +11:00
Nathan Adams
4155b1fb6c Added cause to PlayerTeleportEvent 2011-12-04 11:03:32 +00:00
Andrew Ardill
4595a70056 Extend EntityCombustEvent to allow setting combustion duration.
Also extend with two new events that track the entity or block that caused
the combustion.
2011-11-29 20:56:08 +11:00
sk89q
e886509abc Added a case previously not covered by VehicleDestroyEvent for boats, updated VehicleDestroyEvent Javadocs. 2011-10-13 01:17:10 -07:00
Nathan Adams
dc78ff7c7b Javadoc typo. I can now sleep soundly at night. 2011-10-11 01:24:47 +01:00
Nathan Adams
4485364e17 Small javadoc cleanup 2011-10-10 21:58:44 +01:00
Tahg
963622f8cf hopeful fix for blocks not being pistons when they should be 2011-10-05 10:59:41 -04:00
sunkid
a457ea9784 Added PlayerChangedWorldEvent. 2011-10-01 15:35:04 -04:00
EvilSeph
76b85c61ae Painting improvements. Thanks CelticMinstrel!
Added interface to get/set the art and facing direction on paintings, and expanded painting break events to catch more cases (including fire and lightning); removed PaintingBreakByWorldEvent since it's identical to its superclass
2011-10-01 13:55:56 -04:00
EvilSeph
7e210807f6 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.
2011-09-30 19:50:27 -04:00
sk89q
fff5598704 Added server list ping event. 2011-09-26 15:32:01 -07:00
Dinnerbone
fe4f4c5f58 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
EvilSeph
f700e32e38 Added RegainReason.SATIATED.
This reason is used when a player regains health from generating due to their hunger being satisfied.
2011-09-22 01:34:31 -04:00
EvilSeph
abd8cf7bef Added FoodLevelChange event. 2011-09-21 22:16:45 -04:00
EvilSeph
a3c784bcde Added DamageCause.STARVATION. 2011-09-21 17:19:39 -04:00
Rigby
81d2064441 Added PlayerToggleSprint event and sprinting related API. 2011-09-21 16:19:17 -04:00
Dinnerbone
52480b78d7 Fixed an extremely dangerous typo caused by @dkdunnings! 2011-09-21 17:37:24 +01:00
Rigby
108d92b981 Implements the ability to customise and disable Player death messages. 2011-09-21 16:57:36 +01:00
Dinnerbone
8473229607 Added methods to control dropped EXP from EntityDeathEvent, and made a subevent for setting players respawned-exp 2011-09-21 15:40:00 +01:00
EvilSeph
2b1f4b6382 Changed documentation for RegainReason.REGEN ENUM to reflect latest code. 2011-09-20 21:13:40 -04:00
Wizjany
4f02864447 Added events for endermen pickup/placement blocks and methods to get/set the block that an enderman is holding. Thanks Wizjany 2011-09-20 18:48:56 +01:00
sunkid
627e2af265 addition of PlayerGameModeChangeEvent 2011-09-18 00:28:14 +01:00
EvilSeph
b04d766ab0 Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested! 2011-08-12 22:02:15 -04:00
EvilSeph
f6318cedda Added DamageCause.SUICIDE. 2011-08-12 21:48:31 -04:00
EvilSeph
30f4a7d66d Made PlayerAnimation cancellable. Thanks desmin88! 2011-07-28 10:53:19 -04:00
EvilSeph
4368ec2736 Added ServerCommandEvent. Thanks celticminstrel! 2011-07-28 10:35:52 -04:00
sunkid
879390d1fa Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent. 2011-07-28 02:23:40 -04:00
EvilSeph
ce36ff1cf9 Added PlayerVelocityEvent. Thanks Evenprime! 2011-07-28 01:17:07 -04:00