Commit Graph

216 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
8670d01e58 Fixed typo in Event javadoc, thanks to robin0van0der0v for the PR
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 10:43:42 +00:00
Bukkit/Spigot
72ce6fab3e Added EntityBlockFormEvent for block forming by entity actions (snowmen etc). Thanks to fieldmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:13:00 +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
a41e663ef3 Override annotations do not belong here!
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 16:24:23 +00:00
Bukkit/Spigot
7aff3534fa Added onStructureGrow event, thanks to md-5.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 16:12:05 +00: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
a4a2fa8690 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

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 16:37:35 +11:00
Bukkit/Spigot
f3ddaaf09f Added cause to PlayerTeleportEvent
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 11:03:32 +00: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
f75105d723 Added a case previously not covered by VehicleDestroyEvent for boats, updated VehicleDestroyEvent Javadocs.
By: sk89q <the.sk89q@gmail.com>
2011-10-13 01:16:18 -07: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
429eb80d6e Small javadoc cleanup
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:58:44 +01:00
Bukkit/Spigot
e99e39ee62 hopeful fix for blocks not being pistons when they should be
By: Tahg <tahgtahv@gmail.com>
2011-09-30 03:27:36 -04:00
Bukkit/Spigot
2a3a80d543 Added PlayerChangedWorldEvent.
By: sunkid <sunkid@iminurnetz.com>
2011-09-30 20:29:24 +02:00
Bukkit/Spigot
367dbc663e 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

By: EvilSeph <evilseph@gmail.com>
2011-10-01 13:30:59 -04: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
d0f0db958d Added server list ping event.
By: sk89q <the.sk89q@gmail.com>
2011-09-26 15:32:01 -07: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
a3e8ec7d78 Added PlayerToggleSprint event and sprinting related API.
By: Rigby <rigby@onarandombox.com>
2011-09-21 11:46:33 +01: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
a7f6bb5cd4 addition of PlayerGameModeChangeEvent
By: sunkid <sunkid@iminurnetz.com>
2011-09-16 19:49:56 -07:00
Bukkit/Spigot
cd7da9630a Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!
By: EvilSeph <evilseph@gmail.com>
2011-08-12 21:59:10 -04:00
Bukkit/Spigot
df275c8376 Added DamageCause.SUICIDE.
By: EvilSeph <evilseph@gmail.com>
2011-08-12 21:35:55 -04:00
Bukkit/Spigot
26305c7551 Made PlayerAnimation cancellable. Thanks desmin88!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 10:53:19 -04:00
Bukkit/Spigot
1063f6cbeb Added ServerCommandEvent. Thanks celticminstrel!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 10:35:52 -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
c9b9f56903 Added PlayerVelocityEvent. Thanks Evenprime!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 01:17:07 -04:00
Bukkit/Spigot
68a6f96ea6 Removed deprecated methods.
getNote() that returns a byte has been replaced by getRawNote().
teleportTo(Location) has been replaced by teleport(location).
teleportTo(Entity) has been replaced by teleport(Entity).
SnowForm event has been replaced by BlockForm event.

By: EvilSeph <evilseph@gmail.com>
2011-07-27 21:09:07 -04:00
Bukkit/Spigot
3c852a3c8f Remove superfluous javadocs
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 17:02:03 +02:00
Bukkit/Spigot
c11905550e Refactor Bucket events
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 17:01:05 +02:00
Bukkit/Spigot
86ab32254f Added Block.getPistonMoveReaction, BlockPistonExtend and BlockPistonRetractEvent
By: Erik Broes <erikbroes@grum.nl>
2011-07-15 23:59:12 +02:00
Bukkit/Spigot
402794beff More JavaDoc improvements.
By: EvilSeph <evilseph@gmail.com>
2011-07-15 01:15:05 -04:00
Bukkit/Spigot
84a45a3927 Added PlayerFish event.
By: EvilSeph <evilseph@unaligned.org>
2011-07-03 00:23:37 -04:00
Bukkit/Spigot
ccbd9a6709 Fixed PlayerPickupItem event returning wrong amount picked up and added function to get the amount remaining on the ground.
By: EvilSeph <evilseph@unaligned.org>
2011-07-02 14:04:57 -04:00
Bukkit/Spigot
f82f291deb Improved FurnaceBurn event.
- Added the ability to set the burn time of the fuel.
- Added the ability to set if a fuel should burn or not.

By: EvilSeph <evilseph@unaligned.org>
2011-06-30 23:03:26 -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
abb947190f Change PortalCreateEvent constructor ArrayList to Collection
By: Erik Broes <erikbroes@grum.nl>
2011-06-25 18:07:04 +02:00
Bukkit/Spigot
c54128077a More JavaDoc improvements.
By: EvilSeph <evilseph@unaligned.org>
2011-06-24 02:32:04 -04:00