Commit Graph

78 Commits

Author SHA1 Message Date
sunkid
e6fa9d9198 Added PlayerChangedWorldEvent. 2011-10-01 15:35:04 -04:00
EvilSeph
ebb8fdd6bc 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
sk89q
47a035440c Added server list ping event. 2011-09-26 15:32:01 -07:00
Dinnerbone
e6c273e8b0 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
EvilSeph
5480237d3b Added FoodLevelChange event. 2011-09-21 22:16:45 -04:00
Rigby
b2e7c24e35 Added PlayerToggleSprint event and sprinting related API. 2011-09-21 16:19:17 -04:00
Wizjany
bed0cc340b 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
sunkid
c8b70c5a8f addition of PlayerGameModeChangeEvent 2011-09-18 00:28:14 +01:00
EvilSeph
7f12385332 Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested! 2011-08-12 22:02:15 -04:00
EvilSeph
57544d0d22 Added PlayerVelocityEvent. Thanks Evenprime! 2011-07-28 01:17:07 -04:00
EvilSeph
1f5c90052a Removed deprecated methods.
getNote() that returns a byte has been replaced by getRawNote().
teleportTo(Location) has been replaced by teleport(location).
teleportTo(Entity) has been replaced by teleport(Entity).
SnowForm event has been replaced by BlockForm event.
2011-07-27 23:18:33 -04:00
Erik Broes
e403b3e000 Added Block.getPistonMoveReaction, BlockPistonExtend and BlockPistonRetractEvent 2011-07-17 17:02:37 +02:00
EvilSeph
d8d006200a Added PlayerFish event. 2011-07-03 01:31:09 -04:00
EvilSeph
a0c1f68109 More JavaDoc improvements. 2011-06-25 22:46:19 -04:00
EvilSeph
f4a2e801e9 Added Furnace smelt and burn events. 2011-06-20 01:29:29 -04:00
sunkid
7cab3de477 Added the concept of a projectile. 2011-06-18 22:20:47 -04: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
Dinnerbone
6d51a64bc7 Added ChunkPopulateEvent, new "newChunk" property on ChunkLoadEvent 2011-06-16 19:32:14 +01: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
Erik Broes
c4d444ce98 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
sk89q
2406a4496d Added dispenser event. 2011-05-08 02:57:26 -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
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
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
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
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
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
Erik Broes
49976e8ef3 Add PLAYER_INTERACT, remove BLOCK_RIGHT_CLICK, BLOCK_INTERACT and PLAYER_ITEM 2011-03-23 16:58:43 +01:00
Erik Broes
ae47996105 Added PlayerBucket events 2011-03-23 16:58:43 +01:00
Erik Broes
a6a128197c Renamed many events/constants to be not past tense <-- Major Break says: "HI" 2011-03-23 16:58:26 +01:00
Dinnerbone
dc313db919 Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it) 2011-02-26 19:09:57 +00:00
Raphfrk
b98b082ea3 small change 2011-02-27 01:22:24 +08:00
sk89q
03f4e0ec22 Lowered the priority of the old command handler event because a number of plugins were using this event incorrectly. A new event, the command preprocesser event, has replaced the previous function of the original command event. 2011-02-19 17:47:49 -08:00
Dinnerbone
adcf330eb2 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
culturespy
400b4a9fd5 Added EXPLOSION_PRIMED event. 2011-02-12 02:47:27 -05:00
Timberjaw
d3cebcfb5a Added SIGN_CHANGE event. 2011-02-11 20:34:02 -05:00
James Logsdon
4e4bd13ae0 Adding PLAYER_PICKUP_ITEM event 2011-02-12 01:39:44 +01:00
Dinnerbone
be485d43ee Added event for when a world is saved (EyvindRM) 2011-02-09 12:57:48 +00:00
Alexander Hesse
1204340b96 Added Sneaking Event 2011-02-08 17:09:11 +01:00
Dinnerbone
a435cae101 New event WORLD_LOADED 2011-02-08 12:06:34 +00:00