1139 Commits

Author SHA1 Message Date
Nathan Adams
5703334ac8 YamlConfiguration now correctly writes extra blank lines at the end if requested 2011-10-12 04:39:22 +01:00
Nathan Adams
984c8ec90d Added reloadConfig() plugin method 2011-10-11 15:50:59 +01:00
Nathan Adams
bbd0ad4c36 Added OfflinePlayer.getPlayer() for getting the online Player object 2011-10-11 14:51:28 +01:00
Nathan Adams
8deb57b54a Fixed deeply nested configuration sections retrieving values 2011-10-11 13:26:41 +01:00
Nathan Adams
252fc76816 Fixed removing entries in the new Configuration (via set(x, null)) 2011-10-11 12:16:43 +01:00
Nathan Adams
c97dbc198d Fixed NPE on unloading plugins 2011-10-11 04:41:34 +01:00
Nathan Adams
537840d1df Added new entity.get/setTicksLived for identifying an entity's age 2011-10-11 02:22:38 +01:00
Nathan Adams
c89a0dbe99 Few more style cleanups 2011-10-11 02:16:44 +01:00
Nathan Adams
73949f6d2b Added add/subtract by Vector methods to Location, thanks to erisdiscord 2011-10-11 02:04:40 +01:00
Nathan Adams
dc78ff7c7b Javadoc typo. I can now sleep soundly at night. 2011-10-11 01:24:47 +01:00
Nathan Adams
5d8833a11c Lazy-load the old and new configs for plugins .getConfig 2011-10-10 23:04:01 +01:00
Nathan Adams
4485364e17 Small javadoc cleanup 2011-10-10 21:58:44 +01:00
Nathan Adams
8fd0cfc07f Updated snakeyaml to 1.9 (up from 1.7) 2011-10-10 21:39:27 +01:00
Nathan Adams
dc7bf0ae7d Removed old Fillr code that was actually never used 2011-10-10 21:33:44 +01:00
Dinnerbone
ee27cc07f0 Added new Configuration classes 2011-10-10 21:06:34 +01:00
Tahg
963622f8cf hopeful fix for blocks not being pistons when they should be 2011-10-05 10:59:41 -04:00
EvilSeph
2276eb899e Revert "Added callback line of sight methods. Thanks xZise!"
This reverts commit 1df3a823ba477d68b359e5ac246345a05fe82ebd.
2011-10-03 15:15:50 -04:00
EvilSeph
233d314482 Added Difficulty API. 2011-10-03 10:11:46 -04:00
EvilSeph
e7dc19c375 Made the Ban command kick a matching player if they are online. 2011-10-03 10:11:45 -04:00
EvilSeph
35761eb83e Added callback line of sight methods. Thanks xZise! 2011-10-02 23:04:09 -04:00
Dinnerbone
050bd70a5d Renamed player.setListName to something a little more sensical 2011-10-03 00:34:04 +01:00
sunkid
a457ea9784 Added PlayerChangedWorldEvent. 2011-10-01 15:35:04 -04:00
EvilSeph
0f885de3ba Moved itr.remove() in loadPlugins(). Thanks lahwran!
This was moved so that the loop does not end until it has gone through a
whole pass without finding any loadable plugins.
2011-10-01 13:56:17 -04:00
EvilSeph
76b85c61ae Painting improvements. Thanks CelticMinstrel!
Added interface to get/set the art and facing direction on paintings, and expanded painting break events to catch more cases (including fire and lightning); removed PaintingBreakByWorldEvent since it's identical to its superclass
2011-10-01 13:55:56 -04:00
EvilSeph
7e210807f6 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
fff5598704 Added server list ping event. 2011-09-26 15:32:01 -07:00
sk89q
d38c63837f Added Player.get/setListName to change the name of the player on the player list. 2011-09-26 15:10:33 -07:00
sk89q
b76a86b572 Boat get/set (double) occupied acceleration, (double) unoccupied deceleration, (boolean) work on land. Good values to maximize boat utility: 0.6 (fast accel.), 0.99 (no loss of boat), true/false, respectively. 2011-09-25 11:20:47 -07:00
Dinnerbone
80b7d27d23 Added MonsterEggs materialdata 2011-09-25 15:27:16 +01:00
Celtic Minstrel
1002e546a4 Remove Jukebox MaterialData in favour of Jukebox BlockState 2011-09-25 03:51:09 +01:00
Dinnerbone
a5eaa00ef8 Added get/setPickupDelay on Item entities, thanks robin0van0der0v 2011-09-25 03:40:12 +01:00
Dinnerbone
4030c98c20 Added Server.getOperators to return all server operators 2011-09-25 03:27:44 +01:00
Dinnerbone
2bed49c0fe Fixed Material.getData returning for "dull" materials with no fancy dataclass 2011-09-25 03:05:07 +01:00
Dinnerbone
fe4f4c5f58 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
sunkid
e7d0831d41 added support for SmoothBrick and changed steps to a TexturedMaterial 2011-09-25 02:47:47 +01:00
raphfrk
7e5b2c1f30 Adds a method that returns the File representation of the update folder. The previous method just returns the filename and doesn't provide the path 2011-09-25 02:22:36 +01:00
Dinnerbone
ef0834736a Added world.getSeaLevel() 2011-09-25 01:05:32 +01:00
Dinnerbone
637ffd6f11 Deprecated Server.createWorld() methods, use "WorldCreator.name(x).seed(1234).createWorld()" now 2011-09-25 01:04:43 +01:00
Dinnerbone
205d194404 Added getHeight to BlockChangeDelegate 2011-09-24 23:11:19 +01:00
Dinnerbone
a07d79e275 Added server.getConsoleSender, blocked access to create a ConsoleCommandSender 2011-09-24 23:11:01 +01:00
EvilSeph
f700e32e38 Added RegainReason.SATIATED.
This reason is used when a player regains health from generating due to their hunger being satisfied.
2011-09-22 01:34:31 -04:00
EvilSeph
abd8cf7bef Added FoodLevelChange event. 2011-09-21 22:16:45 -04:00
EvilSeph
9ce08b8f7e Fixed typo in OpCommand. 2011-09-21 17:36:55 -04:00
EvilSeph
a3c784bcde Added DamageCause.STARVATION. 2011-09-21 17:19:39 -04:00
Rigby
81d2064441 Added PlayerToggleSprint event and sprinting related API. 2011-09-21 16:19:17 -04:00
Dinnerbone
52480b78d7 Fixed an extremely dangerous typo caused by @dkdunnings! 2011-09-21 17:37:24 +01:00
Rigby
108d92b981 Implements the ability to customise and disable Player death messages. 2011-09-21 16:57:36 +01:00
Dinnerbone
8473229607 Added methods to control dropped EXP from EntityDeathEvent, and made a subevent for setting players respawned-exp 2011-09-21 15:40:00 +01:00
EvilSeph
e61bc9093d Added getBedSpawnLocation to Player. Thanks fernferret! 2011-09-20 23:41:57 -04:00
EvilSeph
2b1f4b6382 Changed documentation for RegainReason.REGEN ENUM to reflect latest code. 2011-09-20 21:13:40 -04:00