Commit Graph

244 Commits

Author SHA1 Message Date
Feildmaster
b09c56d57d [Bleeding] Specify event name in exception. Addresses BUKKIT-778 2012-02-19 04:10:06 -05:00
Wesley Wolfe
08eed206b1 [Bleeding] Added Enchantment and misc tests to ItemStack (de)serialization 2012-02-19 04:10:05 -05:00
SpaceManiac
45833c282d [Bleeding] Added ability to unregister listeners, updated javadoc and
renamed allLists. Addresses BUKKIT-773
2012-02-18 21:36:06 -05:00
EvilSeph
9a80e7630a Fixed Validate message. 2012-02-18 15:28:33 -05:00
EvilSeph
2b137c5a9b Updated EntityTeleportEvent in line with deprecation cleanup. 2012-02-18 13:13:50 -05:00
Erik Broes
7a06777e19 Deprecation cleanup. 2012-02-18 13:05:58 -05:00
Erik Broes
52822729b0 Added RemoteServerCommandEvent. 2012-02-18 12:53:30 -05:00
EvilSeph
17517673ba Added JOCKEY and CHUNK_GEN SpawnReasons. 2012-02-10 07:17:03 -05:00
Feildmaster
6b119f2dbb [Bleeding] setLastDamageCaused to ComplexEntityPart parent. 2012-02-09 19:52:53 -05:00
md_5
4c8cd25d91 [Bleeding] Add the ability for plugins to ignore cancelled events when
using the new event system.
2012-02-09 15:51:56 -05:00
Aidan Matzko
623ddc1bdd [Bleeding] Deprecate Enderman events in favor of EntityChangeBlock 2012-02-09 11:32:12 -05:00
craftycreeper
71eb1b25bb Added EntityTeleportEvent. Fixes BUKKIT-366 2012-02-09 03:20:08 -05:00
EvilSeph
8caca5f10d Added SpawnReason.BUILD_SNOWMAN. 2012-02-08 18:27:49 -05:00
EvilSeph
4ac909792f Added RegainReason.ENDER_CRYSTAL. 2012-02-08 10:54:30 -05:00
EvilSeph
b5a19bb632 setCancelled should probably not be hard-coded to true or it could put
fernferrets in danger of self-implosion.
2012-02-05 02:01:11 -05:00
EvilSeph
50939e7769 Added Spawner Egg support to CreatureSpawnEvent. 2012-02-05 01:54:27 -05:00
EvilSeph
e2d27670cf Adhere to naming conventions. 2012-01-25 02:10:02 -05:00
EvilSeph
6e754de221 This will be re-added after the RB. 2012-01-25 02:08:00 -05:00
Mike Primm
1a9118f8d2 [Bleeding] Added EnchantmentTable API. 2012-01-24 06:13:48 -05:00
Zeerix
2b9c374865 [Bleeding] Added PotionSplashEvent for splash potions. Closes BUKKIT-307 2012-01-24 02:11:38 -05:00
Aidan Matzko
3a7c82f7cd [Bleeding] Added Sheep, Shear and EntityChangeBlock API. Thanks tips48! Closes BUKKIT-512 2012-01-23 18:57:37 -05:00
Tahg
53261190cf Updated timing code for new event system 2012-01-19 18:41:04 -05:00
Nathan Adams
c82666738f Added new PlayerExpChangeEvent and PlayerLevelChangeEvent events. Thanks to feildmaster for the PR. 2012-01-19 16:07:03 +00:00
Erik Broes
792d2601e6 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
a4ff34607b 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
0062c83d81 Minor cleanup 2012-01-17 19:51:27 +01:00
Erik Broes
d57776f058 [Bleeding] Added EntityShootBowEvent. Thanks Zeerix. 2012-01-17 19:51:11 +01:00
Zeerix
fb45b3295b [Bleeding] Added DamageCause.POISON/MAGIC and RegainReason.MAGIC/MAGIC_REGEN for potions 2012-01-17 19:49:06 +01:00
Nathan Adams
e35037ab50 [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
eb9dc64493 Generic cleaning 2012-01-15 14:37:43 +01:00
Nathan Adams
b2364780cb Added an EntityCreatePortalEvent 2012-01-15 11:58:03 +00:00
Nathan Adams
77bcae7419 Fixed typo in Event javadoc, thanks to robin0van0der0v for the PR 2012-01-15 10:43:42 +00:00
Nathan Adams
03de75c5b9 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
44217678e6 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
0467c6aa06 Added ItemDespawnEvent 2012-01-14 17:01:03 +00:00
Erik Broes
dce83b6ce4 Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Nathan Adams
36b0a8873e Override annotations do not belong here! 2011-12-09 16:24:23 +00:00
Nathan Adams
fc51ffee2e Added onStructureGrow event, thanks to md-5. 2011-12-09 16:12:05 +00:00
Andrew Ardill
dfd3aebb9c 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
f2b19e14bf 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
19a96434b3 Added cause to PlayerTeleportEvent 2011-12-04 11:03:32 +00:00
Andrew Ardill
b9862ea779 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
ce8a4b92b6 Added a case previously not covered by VehicleDestroyEvent for boats, updated VehicleDestroyEvent Javadocs. 2011-10-13 01:17:10 -07:00
Nathan Adams
8a53045910 Javadoc typo. I can now sleep soundly at night. 2011-10-11 01:24:47 +01:00
Nathan Adams
14d3401121 Small javadoc cleanup 2011-10-10 21:58:44 +01:00
Tahg
4155a42406 hopeful fix for blocks not being pistons when they should be 2011-10-05 10:59:41 -04:00
sunkid
e6fa9d9198 Added PlayerChangedWorldEvent. 2011-10-01 15:35:04 -04:00
EvilSeph
ab29f6a3b5 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
ebb8fdd6bc 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
47a035440c Added server list ping event. 2011-09-26 15:32:01 -07:00