Commit graph

899 commits

Author SHA1 Message Date
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
Dinnerbone
8068859828 hasPermission should return correctly for undefined permissions 2011-09-21 00:54:40 +01:00
Dinnerbone
78ad4c3f22 All permissions now default to OP unless stated otherwise. 2011-09-21 00:29:01 +01:00
Dinnerbone
5774aaa6a0 Permission registration in plugin.yml can now be easier, see https://gist.github.com/32dca3e937c1c42a4ed2 - also added "default-permission" option. 2011-09-20 21:20:07 +01:00
Dinnerbone
bf6d383828 Made OfflinePlayer > AnimalTamer. Thanks to robinjam 2011-09-20 19:04:45 +01:00
Wizjany
4f02864447 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
Erik Broes
65fde9ee8c Fix toString in Location to be readable 2011-09-18 11:48:00 +02:00
sunkid
627e2af265 addition of PlayerGameModeChangeEvent 2011-09-18 00:28:14 +01:00
Dinnerbone
3d04c67ae4 Switched to native weak hashmap instead of guavas for SimplePluginManager 2011-09-17 22:38:55 +01:00
EvilSeph
56f9c092be Fixed max stack sizes for some items, as per new vanilla spec. 2011-09-17 17:01:57 -04:00
Dinnerbone
37c79edb3e Now with 60% less Dave errors! 2011-09-16 21:18:53 +01:00
EvilSeph
8647e78379 Added new entities to CreatureType ENUM. 2011-09-16 06:07:41 -04:00
EvilSeph
fb32a37ed4 Made SayCommand display output in purple, as per vanilla spec. 2011-09-15 22:11:20 -04:00
Dinnerbone
d1a86b6f2a Added Player saturation, exhaustion and food level methods 2011-09-15 06:23:58 +01:00
Dinnerbone
86a3286a98 Added methods for getting/setting how much exp is contained within an orb 2011-09-15 05:48:52 +01:00
Dinnerbone
0abbb7ad7a Added Player.get/setExperience, totalExperience and level 2011-09-15 05:13:16 +01:00
EvilSeph
f0b709432d Fixed GameModeCommand not being limited to Ops by default. 2011-09-14 23:22:05 -04:00
EvilSeph
233409ed7c Fixed GameModeCommand and GiveCommand error/response display. 2011-09-14 22:39:09 -04:00
Dinnerbone
0c4ae4dddd Fixed "unknown command" on vanilla commands with no args (even though it's intended behavior...) 2011-09-15 03:04:55 +01:00
Dinnerbone
405001e6a2 Added new Materials (need to add individual api later) 2011-09-15 02:54:19 +01:00
Dinnerbone
ca74188e0c Added new Entity interfaces 2011-09-15 02:34:14 +01:00
Dinnerbone
8bb761eff2 Ok, so we need this. *shifty eyes* 2011-09-15 01:42:07 +01:00
EvilSeph
879fc912f4 Added GameMode command. 2011-09-14 17:43:11 -04:00