Erik Broes
049a7cc1d0
Deprecation cleanup.
2012-02-18 13:05:58 -05: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
Erik Broes
b9fca3c04d
Generic cleanup of warnings, whitespace and style.
2011-12-25 16:02:30 +01:00
Nathan Adams
3ae2ce4c30
Override annotations do not belong here!
2011-12-09 16:24:23 +00:00
Nathan Adams
bbbda45739
Added onStructureGrow event, thanks to md-5.
2011-12-09 16:12:05 +00:00
Dinnerbone
fe4f4c5f58
Many javadoc fixes thanks to Celtic Minstrel
2011-09-25 02:56:40 +01:00
Erik Broes
6ff9f7cad6
Remove superfluous javadocs
2011-07-17 17:20:22 +02:00
Erik Broes
762e66b69b
Change PortalCreateEvent constructor ArrayList to Collection
2011-06-27 00:10:41 +02:00
EvilSeph
d8f0f0d17c
More JavaDoc improvements.
2011-06-25 22:46:19 -04:00
Dinnerbone
0468c8e89e
Removing 14 deprecated methods per http://bit.ly/mO2f4d
2011-06-16 22:06:18 +01:00
Dinnerbone
04494c5b07
Added ChunkPopulateEvent, new "newChunk" property on ChunkLoadEvent
2011-06-16 19:32:14 +01:00
Erik Broes
0ac6a0bfe6
Generic cleanup
2011-06-12 12:49:08 +02:00
Stephen
55bc828c2c
Added various 1.6 portal events.
2011-06-08 18:30:48 -04:00
Rigby
4ef2edfc5b
Implemented WorldUnloadEvent and unloadWorld().
2011-06-07 02:51:31 -04:00
Dinnerbone
f784af8f3e
Added custom world generator API
2011-06-06 18:37:20 +01:00
Erik Broes
992f1f2bf3
Whitespace + general cleanup
2011-05-15 14:06:02 +02:00
William Bowers
287114f8ed
Added the SPAWN_CHANGE event, which occurs when a world's spawn is changed.
...
This event includes the world who's spawn changed and its previous spawn location.
To listen for this event:
PluginManager pm = getServer().getPluginManager();
YourWorldListener worldListener = new YourWorldListener(this);
pm.registerEvent(Event.Type.SPAWN_CHANGE, worldListener, Priority.Normal, this);
To use this event:
public class YourWorldListener extends WorldListener {
@Override
public void onSpawnChange(SpawnChangeEvent event) {
World world = event.getWorld();
Location previousLocation = event.getPreviousLocation();
}
}
2011-04-02 17:00:29 +02:00
Dinnerbone
2362fc6511
We weren't supposed to break things *that* hard. Plugins still need to update but here's a TEMPORARY fix.
2011-03-31 22:51:26 +01:00
Erik Broes
6929a1830e
Force compile-time failures for the subtle changes done in the API
2011-03-30 00:25:59 +02: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
Dinnerbone
2db95ba0b9
Added event for when a world is saved (EyvindRM)
2011-02-09 12:57:48 +00:00
Dinnerbone
46bc44ed5f
New event WORLD_LOADED
2011-02-08 12:06:34 +00:00
Erik Broes
9afcb8ecc7
Events should be present tense, not paste tense.
2011-01-15 21:26:42 +01:00
Dinnerbone
f2533d1fd7
Javadoc
2011-01-04 22:05:53 +00:00
Dinnerbone
9296dd3ca1
Added Chunk events in new World category
2011-01-04 14:08:56 +00:00