818 Commits

Author SHA1 Message Date
sk89q
d9e8461bbb Added NoteBlock.play(instrument, note). 2011-05-02 11:31:29 -07:00
Andrew Ardill
daaf0aa6a9 AnimalTamer and Tameable interfaces, and corresponding features.
Documentation improvements.
2011-05-03 00:36:02 +10:00
Mike Primm
18b3a7a919 Add new Wolf methods for taming 2011-05-02 23:51:50 +10: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
e969067ce3 Removed trailing spaces. 2011-05-02 04:15:27 -04:00
Raphfrk
4c06eff3be Added support for soft dependencies.
Soft dependencies allow plugins to request to be loaded after another plugin, but they will not throw an UnknownDependency exception if the other plugin is not present.
2011-05-02 03:33:46 -04:00
Raphfrk
5c654eeb3d Improved the Scheduler.
Adds nag message when async tasks are not properly shut down and adds a limiter for sync tasks. Once they use 35ms in a single tick, any remaining tasks are not executed until later ticks. Adds a method to report the pending tasks and one to report active worker threads
2011-05-02 02:34:59 -04:00
Raphfrk
5956abc439 Added setArmorContents as a method for PlayerInventory. 2011-05-02 02:08:06 -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
Rigby
5315ea2595 Added per world PVP setting support. 2011-05-02 00:28:33 -04:00
Celtic Minstrel
6ed9db18b7 Add recipe classes and an addRecipe method in the server interface. 2011-05-01 23:40:15 -04:00
EvilSeph
8e95e2788a Fixed formatting and removed tabs. 2011-04-27 23:48:43 -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
sunkid
fc035ee709 Added MaterialData support for SAPPLING, POWERED_RAIL, and DETECTOR_RAIL. 2011-04-25 17:17:21 -04:00
Rigby
590fbbc104 Added the ability to retrieve a world's Seed. 2011-04-25 16:48:44 -04:00
Erik Broes
b39503de71 Updated README for line-ending demands, also fixed line-endigs. 2011-04-25 13:24:32 +02:00
EvilSeph
cba06d412f Fixed getData() not returning the correct values. 2011-04-25 07:17:12 -04:00
EvilSeph
cc3f7710ef Fixed AIOOBE when entering a space into console and hitting enter. 2011-04-24 21:49:45 -04:00
sk89q
98b331ba86 Add methods to control thunder. 2011-04-22 03:12:54 -07:00
sk89q
aaa5278efb Added weather control methods. 2011-04-22 02:17:53 -07:00
sk89q
95429ad663 Added World.strikeLightning(). Also renamed WeatherStorm -> LightningStrike. 2011-04-22 01:25:41 -07:00
sk89q
ca74c6d3ee Added lightning as a cause for fires. 2011-04-22 01:20:49 -07:00
Dinnerbone
539e822e33 Added Achievement and Statistics 2011-04-21 20:56:19 +01:00
Dinnerbone
626edb3eb0 Added LIGHTNING as a possible source of damage 2011-04-21 17:29:07 +01:00
Dinnerbone
bc7d54dda4 Added Weather and WeatherStorm 2011-04-21 16:51:43 +01:00
Dinnerbone
cfb241f275 Added Creeper.set/isPowered 2011-04-21 16:15:59 +01:00
Dinnerbone
8bdbe6303b Added WEB, POWERED_RAIL and DETECTOR_RAIL to block list 2011-04-21 15:41:40 +01:00
Dinnerbone
df18fad33f Dammit, line endings! 2011-04-21 15:27:18 +01:00
Erik Broes
8cd170a819 Backwards incompatible change to match 1.4_00_01 2011-04-20 18:59:31 +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
93a3e2448d Fixin' the problem of AFK people not in bed. 2011-04-11 11:48:30 -07:00
sk89q
bd533b3c8a Added bed events and methods. 2011-04-07 11:26:33 -07:00
Dinnerbone
a521a8ae77 Line endings. This is getting very annoying. 2011-04-05 16:35:57 +01:00
EvilSeph
aa7c55627d Fixed PlayerInventoryEvent Type. 2011-04-04 20:40:46 -04:00
sk89q
e6a51fb149 Added a check for when the old and new data folders are the same. 2011-04-03 23:05:25 -07:00
Tahg
4378464989 added some API for entities 2011-04-04 01:14:26 -04:00
afforess
47d436c386 Added interface for player.saveData and player.loadData. 2011-04-03 15:53:26 -04:00
Erik Broes
4d0acea6c9 Pluginnames can also space out now 2011-04-03 19:17:18 +02:00
Erik Broes
bb3e3325ad Forgot we have windows to support as well 2011-04-03 16:42:33 +02:00
Erik Broes
d2d7ea50eb A plugin's name can now only contain: [A-Za-z0-9()\[\]{}_.-] 2011-04-03 16:26:27 +02:00
Erik Broes
5fd890208f Plugin's datafolders are now named after the plugin's name (from config.yml)
The code will automagically rename the old data folder to the new format (if it can)
or else throw a fatal error you better solve :D
2011-04-03 16:12:44 +02:00
sunkid
3d0781c8bf Ton of Material extensions handling the meta-data of blocks. 2011-04-03 11:28:19 +02:00
Raphfrk
04ddb17fce Added the ability to set the quit message 2011-04-02 18:25:33 +02:00
Stephen
a8be58032f Added getNearbyEntities 2011-04-02 17:24:45 +02:00
afforess
446dfee6d5 Entity.isDead returns true if the entity has been marked for removal 2011-04-02 17:20:05 +02: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
Dinnerbone
3f2a31fa5e Added {NAME} replacement in database location 2011-04-01 16:51:33 +01:00