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
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
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
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
EvilSeph
f6318cedda
Added DamageCause.SUICIDE.
2011-08-12 21:48:31 -04:00
sunkid
879390d1fa
Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent.
2011-07-28 02:23:40 -04:00
Erik Broes
6ff9f7cad6
Remove superfluous javadocs
2011-07-17 17:20:22 +02:00
EvilSeph
2a7dd93cb5
More JavaDoc improvements.
2011-07-15 17:18:32 -04:00
EvilSeph
212849fc21
Added reasons for entities regaining health.
2011-06-30 14:43:00 -04:00
EvilSeph
d8f0f0d17c
More JavaDoc improvements.
2011-06-25 22:46:19 -04:00
EvilSeph
d590a96586
JavaDoc cleanup.
2011-06-22 17:22:17 -04:00
EvilSeph
fcfa05f482
Added SpawnReasons to CreatureSpawn events. Thanks winsock!
2011-06-21 16:25:01 -04:00
EvilSeph
cdd73612bf
Added Target Reasons for Wolf events. Thanks Deaygo!
2011-06-18 22:29:07 -04:00
sunkid
230d6dfa7f
Added the concept of a projectile.
2011-06-18 22:20:47 -04:00
EvilSeph
a5e6cfa714
Added EntityRegainHealthEvent. Thanks TimWolla!
2011-06-17 16:54:23 -04:00
sunkid
82475d3497
Added the concept of an Explosive.
2011-06-17 16:54:23 -04:00
Erik Broes
0ac6a0bfe6
Generic cleanup
2011-06-12 12:49:08 +02:00
EvilSeph
7837906a2a
Added ItemSpawnEvent. Thanks myers!
2011-06-11 00:26:18 -04:00
EvilSeph
8c3a7e75f6
Added EntityTame event. Thanks halvors!
2011-06-09 04:03:53 -04:00
Stephen
55bc828c2c
Added various 1.6 portal events.
2011-06-08 18:30:48 -04:00
EvilSeph
d72be8bd86
Added get/setLastDamageCause. Thanks sunkid!
2011-05-16 00:25:35 -04:00
Erik Broes
992f1f2bf3
Whitespace + general cleanup
2011-05-15 14:06:02 +02:00
EvilSeph
a5aa113ce3
Added a lot of events relating to weather, including those for entities. Thanks wizjany!
2011-04-25 19:46:10 -04:00
Stephen
bd5d86665a
Added painting events (thanks verrier and tanelsuurhans)
2011-04-25 23:25:55 +02:00
Dinnerbone
626edb3eb0
Added LIGHTNING as a possible source of damage
2011-04-21 17:29:07 +01:00
Tahg
4378464989
added some API for entities
2011-04-04 01:14:26 -04:00
Dinnerbone
32b3c77165
Line endings, consistency!
2011-03-27 21:27:27 +01:00
Erik Broes
94894216e8
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)
2011-03-26 22:32:14 +01:00
Erik Broes
8cf7b9e371
Renamed many events/constants to be not past tense <-- Major Break says: "HI"
2011-03-23 16:58:26 +01:00
Gunther De Wachter
f89e47ba9c
Added DamageType.VOID
2011-03-17 20:04:02 +01:00
Dinnerbone
1de6f5bef8
Purged deprecated MobType and MobSpawner
2011-03-07 16:29:03 +00:00
Tahg
b2847fdf8c
added yield to explosions
2011-02-19 23:36:59 -05:00
Dinnerbone
361d8f2b9f
Shifting damage events per http://forums.bukkit.org/threads/oops-i-broke-your-plugins.599/#post-67424 (This breaks stuff!)
2011-02-19 17:08:14 +00:00
ss2man44
93f6e5191e
Added CREATURE_SPAWN event
2011-02-16 22:28:44 -05:00
Erik Broes
0f93997077
Windows and executable, should be 0644
2011-02-12 16:16:14 +01:00
culturespy
01ca4cc35b
Added EXPLOSION_PRIMED event.
2011-02-12 02:47:27 -05:00
James Logsdon
49ced27311
Adding EntityDamageEvent.setDamage()
2011-02-11 19:16:44 -05:00
Erik Broes
01988e8f6b
General cleanup (deprecated+whitespace)
2011-02-02 00:28:41 +01:00
Dinnerbone
8911adae05
Removed EntityDeathEvent.setDrops() (just use getDrops.add/etc)
2011-01-30 20:24:36 +00:00
stevenh
39c4a5a2e9
merge with head
2011-01-29 17:18:32 +00:00
stevenh
a89a96416b
Refactored event calling so its front loading avoiding the lookup for each event call.
...
This now uses an annoymous class implementing IExecutor that facilitates direct event method handler calling
Changed commands from being executed exclusively by a player to by a CommandSender to facilitate external command callers such as rcon
Fixed CustomEventListener
Merged in additional events
Added getFullName to PluginDescriptionFile which returns the combination of Name and Version
There's also a few bits of reformatting as it seems someones been editing with either tabs or dos eol :(
2011-01-29 16:23:56 +00:00