50 Commits

Author SHA1 Message Date
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
Dinnerbone
6c4698c313 ENTITY_DEATH 2011-01-27 13:25:20 +00:00
Taylor Kelly
30144a15d1 EntityTargetEvent 2011-01-26 14:27:43 -05:00
Adam Tanner
da167fe2f5 EntityExplodeEvent keeps track of its Location. 2011-01-21 23:59:34 +08:00
sk89q
af769715f3 Added suffocation damage as an event. 2011-01-20 02:10:35 -08:00
Andrew Ardill
4342ea7c7f fix for entity damaged by projectile event 2011-01-20 20:22:34 +11:00
speakeasy
f4908db7c1 Added EntityExplodeEvent :D 2011-01-18 00:22:02 +08:00
Andrew Ardill
db5d43c2a9 Implementation of the EntityDamage*Events.
A new event EntityDamageByProjectileEvent was created. EntityDamageByProjectileEvent
adds the ability to get the projectile entity (such as an egg) and also set if
the projectile 'bounces'. New interfaces were created to facilitate all kinds
of projectile entities. Changes were made to facilitate the new event, and
enable other events, for plugins and event listeners.
2011-01-16 14:13:44 +01:00
Dinnerbone
ba635ade10 Moved block stuff from org.bukkit to org.bukkit.block 2011-01-15 21:37:08 +00:00
Dinnerbone
4764962cf9 All entity stuff in org.bukkit moved to org.bukkit.entity 2011-01-15 21:20:59 +00:00
Erik Broes
9afcb8ecc7 Events should be present tense, not paste tense. 2011-01-15 21:26:42 +01:00
Taylor Kelly
c5e31fd6f3 Remove @overrides from EntityCombust 2011-01-11 19:41:04 -05:00
Taylor Kelly
219c0772fd EntityCombustEvent 2011-01-10 02:59:30 +00:00
durron597
154cae99a8 Removed unnecessary import warnings 2011-01-09 07:52:03 -05:00
angelsl
23cdf49521 Overhaul entity damage structure... 2011-01-03 15:54:58 +00:00
angelsl
40828fcee9 Move health stuff from LivingEntity to Entity. 2011-01-03 15:54:58 +00:00
angelsl
6da623bd18 Entity damage hooks 2011-01-03 15:54:24 +00:00