64 Commits

Author SHA1 Message Date
EvilSeph
82a04fda10 Added Furnace smelt and burn events. 2011-06-20 01:29:29 -04:00
sunkid
230d6dfa7f Added the concept of a projectile. 2011-06-18 22:20:47 -04:00
EvilSeph
c42ee3f065 Added BlockSpread, BlockForm and BlockFade events. 2011-06-17 23:04:45 -04:00
EvilSeph
a5e6cfa714 Added EntityRegainHealthEvent. Thanks TimWolla! 2011-06-17 16:54:23 -04:00
Dinnerbone
04494c5b07 Added ChunkPopulateEvent, new "newChunk" property on ChunkLoadEvent 2011-06-16 19:32:14 +01: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
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
sk89q
b87835c16d Added dispenser event. 2011-05-08 02:57:26 -07:00
EvilSeph
7570b5bfaf Added PlayerInteractEntityEvent which fires when a player right clicks an entity. Thanks fullwall! 2011-05-02 04:31:42 -04:00
EvilSeph
8b1190626b Added SnowFormEvent. Thanks aPunch! 2011-05-02 01:46:55 -04:00
EvilSeph
a231c514d9 Removed trailing spaces. 2011-05-02 01:18:23 -04: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
sk89q
3791a158de 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
bd533b3c8a Added bed events and methods. 2011-04-07 11:26:33 -07:00
EvilSeph
aa7c55627d Fixed PlayerInventoryEvent Type. 2011-04-04 20:40:46 -04:00
Tahg
4378464989 added some API for entities 2011-04-04 01:14:26 -04:00
Robert Sargant
c5fbd41659 Added VEHICLE_DESTROY event 2011-04-02 17:10:36 +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
Erik Broes
700c8a20dd Add PLAYER_INTERACT, remove BLOCK_RIGHT_CLICK, BLOCK_INTERACT and PLAYER_ITEM 2011-03-23 16:58:43 +01:00
Erik Broes
f0544a90fc Added PlayerBucket events 2011-03-23 16:58:43 +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
72e6769d68 Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it) 2011-02-26 19:09:57 +00:00
Raphfrk
b53769f088 small change 2011-02-27 01:22:24 +08:00
sk89q
e529e44d86 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
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
culturespy
01ca4cc35b Added EXPLOSION_PRIMED event. 2011-02-12 02:47:27 -05:00
Timberjaw
3cc8c0dae0 Added SIGN_CHANGE event. 2011-02-11 20:34:02 -05:00
James Logsdon
164b687bcd Adding PLAYER_PICKUP_ITEM event 2011-02-12 01:39:44 +01:00
Dinnerbone
2db95ba0b9 Added event for when a world is saved (EyvindRM) 2011-02-09 12:57:48 +00:00
Alexander Hesse
6ba990ecfd Added Sneaking Event 2011-02-08 17:09:11 +01:00
Dinnerbone
46bc44ed5f New event WORLD_LOADED 2011-02-08 12:06:34 +00:00
Forsaken
0b998a2fe4 Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation) 2011-02-06 12:13:18 +01:00
Meaglin
af9d2b86c3 Interface for BlockBreakEvent 2011-02-01 18:07:16 +01:00
Dinnerbone
1dba6e8874 Added PLAYER_DROP_ITEM 2011-02-01 10:45:39 +00:00
Dinnerbone
630f9a89d6 Added VEHICLE_UPDATE 2011-02-01 10:18:27 +00:00
Dinnerbone
000d2a300f Added PLAYER_ITEM_HELD event 2011-01-31 01:34:23 +00:00
stevenh
47af4404bf Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc 2011-01-29 21:17:36 +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
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
Erik Broes
8cf9d7fe6c Fixed 3 event rename typos, cheers Master-Guy for letting me know 2011-01-15 21:58:57 +01:00
Erik Broes
9afcb8ecc7 Events should be present tense, not paste tense. 2011-01-15 21:26:42 +01:00
Taylor Kelly
e35b9b594a EggThrow - remove extra stuff 2011-01-11 03:02:30 -05:00
Taylor Kelly
0b4916afd6 PlayerEggThrowEvent 2011-01-11 02:58:51 -05:00
Taylor Kelly
219c0772fd EntityCombustEvent 2011-01-10 02:59:30 +00:00