riking
45147986bf
Add Thorns to DamageCause - Related to BUKKIT-3505
2013-03-23 19:43:05 -07:00
Edmond Poon
f8353cf498
Pulling all pending Bukkit-JavaDoc changes
2013-03-20 00:42:05 -04:00
EdGruberman
2f6cee111d
[Bleeding] Add experimental support for entity portal traveling
...
EntityPortalEvent is called when an entity is about to portal to a
new location. This event is cancellable on top of being able to
change the exit location.
EntityPortalExitEvent is called when exiting the portal, allowing
for adjustment of the exit velocity.
2013-01-19 06:06:22 -06:00
Wesley Wolfe
addfe146de
[BREAKING] EntityChangeBlockEvent can be non-living. Adds BUKKIT-3078
...
Non-living entities can change blocks, specifically falling blocks. This change is a small source break, but mainly a byte-code break (requires plugins to recompile).
2012-12-04 22:17:03 -06:00
Wesley Wolfe
58c8f0ae30
Add data values for entity change block event. Adds BUKKIT-3077, BUKKIT-3076
2012-11-30 12:07:10 -06:00
feildmaster
e72fb666d8
Add DamageCause for FallingBlocks. Adds BUKKIT-2781
2012-11-20 17:09:25 -06:00
Travis Watkins
a446bb7e8f
Update Bukkit for Minecraft 1.4(.2) changes.
2012-10-27 22:15:59 -04:00
feildmaster
3b42b1d170
Don't "setLastDamageCause" in the DamageEvent constructor. Addresses BUKKIT-1881
...
This is now done after the event to allow you to be able to get previous damageCauses, and is now only applied if the event is not canceled.
2012-07-03 14:09:51 -05:00
feildmaster
062a3df78d
Javadoc updates
...
Fixes BUKKIT-1653, Fixes BUKKIT-1383 and Fixes BUKKIT-1644
2012-06-03 05:40:54 -05:00
feildmaster
55c12d5dd5
Add SpawnReason.DEFAULT, to make SpawnReason.CUSTOM solely for plugins
2012-04-14 01:31:59 -05:00
feildmaster
92821498f0
Added SpawnReason.SLIME_SPLIT. Addresses BUKKIT-790
2012-04-14 00:59:29 -05:00
feildmaster
979d54e78d
[Bleeding] Added SpawnReason.BREEDING. Addresses BUKKIT-1356
2012-03-27 20:27:41 -04:00
Warren Loo
f520069aa6
Reverting the Drop API for now, we need to re-evalute this as it is causing too many issues and blocking releases.
...
This reverts commit 2d17b0c24e2de982c09ad6050a95db0fac70c3ad.
2012-03-27 19:54:54 -04:00
EvilSeph
2854528ba5
Added new MELTING DamageCause. Addresses BUKKIT-1244
2012-03-22 17:33:32 -04:00
Celtic Minstrel
066ccf6062
[Bleeding] Added getting and setting drops to all appropriate events. Fixes BUKKIT-397 and fixes BUKKIT-1252
2012-03-21 12:31:22 -04:00
Wesley Wolfe
e4ca064cdc
[Bleeding] Add ExpBottleEvent; Addresses BUKKIT-888
2012-03-20 03:24:37 -04:00
Celtic Minstrel
74ff160f58
[Bleeding] Added ProjectileLaunchEvent. Addresses BUKKIT-284
2012-03-15 07:12:23 -04:00
feildmaster
d22352013f
[Bleeding] Added EntityBreakDoorEvent. Fixes BUKKIT-1134
2012-03-11 16:28:40 -04:00
feildmaster
06e507f3c6
[Bleeding] Add new sub-event for target goals, and DEFEND_VILLAGE TargetReason. Fixes BUKKIT-935
2012-03-10 02:02:08 -05:00
EvilSeph
cb46f4b8fe
Made zombie invasions fire CreatureSpawn event. Fixes BUKKIT-1090
2012-03-08 22:10:17 -05:00
EvilSeph
220d1bb453
Made iron golems fire CreatureSpawn event. Fixes BUKKIT-1089
2012-03-08 22:00:08 -05:00
Celtic Minstrel
d839b6d639
Fix javadoc errors/warnings
2012-02-29 21:31:28 -05:00
TomyLobo
1876c12a79
Narrowed down the return type of most EntityEvent subclasses for convenience. Addresses BUKKIT-809
2012-02-28 21:57:17 -05:00
Celtic Minstrel
ce4a390b00
[Bleeding] Added EntityType to replace CreatureType.
2012-02-22 22:06:19 -05:00
Feildmaster
99af2a1aad
[Bleeding] Event no longer implements Serializable.
2012-02-19 04:10:07 -05:00
Feildmaster
070ae68360
[Bleeding] Remove deprecated events (EndermanPickup/Place).
2012-02-19 04:10:06 -05:00
EvilSeph
6ec92480a7
Updated EntityTeleportEvent in line with deprecation cleanup.
2012-02-18 13:13:50 -05:00
Erik Broes
049a7cc1d0
Deprecation cleanup.
2012-02-18 13:05:58 -05:00
EvilSeph
5c7edcf439
Added JOCKEY and CHUNK_GEN SpawnReasons.
2012-02-10 07:17:03 -05:00
Feildmaster
7df6a7e864
[Bleeding] setLastDamageCaused to ComplexEntityPart parent.
2012-02-09 19:52:53 -05:00
Aidan Matzko
db15c58e31
[Bleeding] Deprecate Enderman events in favor of EntityChangeBlock
2012-02-09 11:32:12 -05:00
craftycreeper
4272a879f9
Added EntityTeleportEvent. Fixes BUKKIT-366
2012-02-09 03:20:08 -05:00
EvilSeph
d9ed0a0d33
Added SpawnReason.BUILD_SNOWMAN.
2012-02-08 18:27:49 -05:00
EvilSeph
f04e388d46
Added RegainReason.ENDER_CRYSTAL.
2012-02-08 10:54:30 -05:00
EvilSeph
2c37ce1367
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
ef1c779ff5
Added Spawner Egg support to CreatureSpawnEvent.
2012-02-05 01:54:27 -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
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
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
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
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
Nathan Adams
dc78ff7c7b
Javadoc typo. I can now sleep soundly at night.
2011-10-11 01:24:47 +01:00