Commit Graph

263 Commits

Author SHA1 Message Date
Rigby
2fd1c815ca Implements isBedSpawn() to the PlayerRespawnEvent. 2011-06-20 23:55:19 -04:00
Rigby
31964b9e77 Implements customiseable PortalTravelAgent and updated PlayerPortalEvent. 2011-06-20 18:30:47 -04:00
EvilSeph
f4a2e801e9 Added Furnace smelt and burn events. 2011-06-20 01:29:29 -04:00
EvilSeph
bbff1815f3 Added Target Reasons for Wolf events. Thanks Deaygo! 2011-06-18 22:29:07 -04:00
sunkid
7cab3de477 Added the concept of a projectile. 2011-06-18 22:20:47 -04:00
sk89q
fb79a3106e Added PlayerToggleSneakEvent.isSneaking(). 2011-06-18 14:36:16 -07:00
EvilSeph
7f333192cf Added BlockSpread, BlockForm and BlockFade events. 2011-06-17 23:04:45 -04:00
EvilSeph
99d9e5f66b Added EntityRegainHealthEvent. Thanks TimWolla! 2011-06-17 16:54:23 -04:00
sunkid
d471de6bb1 Added the concept of an Explosive. 2011-06-17 16:54:23 -04:00
Dinnerbone
a329cf151b Removing 14 deprecated methods per http://bit.ly/mO2f4d 2011-06-16 22:06:18 +01:00
Dinnerbone
6d51a64bc7 Added ChunkPopulateEvent, new "newChunk" property on ChunkLoadEvent 2011-06-16 19:32:14 +01:00
Erik Broes
c54ec090c8 Generic cleanup 2011-06-12 12:49:08 +02:00
EvilSeph
c5fc81a42d Added ItemSpawnEvent. Thanks myers! 2011-06-11 00:26:18 -04:00
EvilSeph
d6f3999b70 Added EntityTame event. Thanks halvors! 2011-06-09 04:03:53 -04:00
Stephen
92f8f6aba8 Added various 1.6 portal events. 2011-06-08 18:30:48 -04:00
Rigby
826bcf1d4a Implemented WorldUnloadEvent and unloadWorld(). 2011-06-07 02:51:31 -04:00
Dinnerbone
bca3b8d0c5 Added custom world generator API 2011-06-06 18:37:20 +01:00
EvilSeph
7c9b2b9f40 Added get/setLastDamageCause. Thanks sunkid! 2011-05-16 00:25:35 -04:00
Erik Broes
c4d444ce98 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
Dinnerbone
5e82e3b3ea Line endings. Don't make me yell at you. 2011-05-12 22:28:09 +01:00
sk89q
2406a4496d Added dispenser event. 2011-05-08 02:57:26 -07:00
sk89q
b67483a069 Changed LightningStrikeEvent to return a LightningStrike and not an Entity. 2011-05-06 19:24:40 -07:00
EvilSeph
4e3d770ad3 Added PlayerInteractEntityEvent which fires when a player right clicks an entity. Thanks fullwall! 2011-05-02 04:31:42 -04:00
EvilSeph
5c4f940bff Removed trailing spaces. 2011-05-02 04:15:27 -04:00
EvilSeph
f0d14d156e Added SnowFormEvent. Thanks aPunch! 2011-05-02 01:46:55 -04:00
EvilSeph
de28e15e50 Removed trailing spaces. 2011-05-02 01:18:23 -04:00
EvilSeph
22e7e7afcf Fixed formatting and removed tabs. 2011-04-27 23:48:43 -04:00
EvilSeph
b0e81bcc7b Added a lot of events relating to weather, including those for entities. Thanks wizjany! 2011-04-25 19:46:10 -04:00
Stephen
a6c61782ac Added painting events (thanks verrier and tanelsuurhans) 2011-04-25 23:25:55 +02:00
Erik Broes
d94fce59ff Updated README for line-ending demands, also fixed line-endigs. 2011-04-25 13:24:32 +02:00
sk89q
38e97d064f Added lightning as a cause for fires. 2011-04-22 01:20:49 -07:00
Dinnerbone
8428739a27 Added LIGHTNING as a possible source of damage 2011-04-21 17:29:07 +01:00
Dinnerbone
240ae33638 Dammit, line endings! 2011-04-21 15:27:18 +01:00
sk89q
a7724a5138 Added pre-login event for catching logins right after name verification has completed. This happens in a different thread from the server (and thus can also block). 2011-04-16 03:08:05 -07:00
sk89q
ef5d72ec02 Added bed events and methods. 2011-04-07 11:26:33 -07:00
Dinnerbone
748447716b Line endings. This is getting very annoying. 2011-04-05 16:35:57 +01:00
EvilSeph
227772ba4f Fixed PlayerInventoryEvent Type. 2011-04-04 20:40:46 -04:00
Tahg
1723111b36 added some API for entities 2011-04-04 01:14:26 -04:00
Raphfrk
ebb3a6fbc7 Added the ability to set the quit message 2011-04-02 18:25:33 +02:00
Robert Sargant
49be099147 Added VEHICLE_DESTROY event 2011-04-02 17:10:36 +02:00
William Bowers
c105f68327 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
32dd96cab4 Missed a hard break 2011-03-31 23:02:39 +01:00
Dinnerbone
fe2c6c7b1c 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
6dfe133f17 Force compile-time failures for the subtle changes done in the API 2011-03-30 00:25:59 +02:00
HACKhalo2
ced00079c2 Added the KICK_WHITELIST Result for players being kicked from not being on the whitelist, just because KICK_BANNED didn't seem to fit. 2011-03-29 21:37:31 +01:00
sunkid
1de3f3cecc fixed PlayerCommandPreprocessEvent inheritance 2011-03-28 17:15:41 -07:00
Byron Shelden
a5b07e7355 Fixed PlayerTeleportEvent so getType() returns Type.PLAYER_TELEPORT 2011-03-28 01:15:21 +02:00
Dinnerbone
4272e51e00 Line endings, consistency! 2011-03-27 21:27:27 +01:00
Erik Broes
e2d4603358 Fix Type of VehicleDamageEvent 2011-03-27 12:35:16 +02:00
Erik Broes
325fbdc01a Change some more signatures :(
onPlayerCommandPreprocess(PlayerChatEvent event) -> onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event)
onBlockFlow(BlockFromToEvent event)     -> onBlockFromTo(BlockFromToEvent event)
onPlayerJoin(PlayerEvent event)         -> onPlayerJoin(PlayerJoinEvent event)
onPlayerQuit(PlayerEvent event)         -> onPlayerQuit(PlayerQuitEvent event)
onPlayerTeleport(PlayerMoveEvent event) -> onPlayerTeleport(PlayerTeleportEvent event)
2011-03-27 00:16:06 +01:00