1139 Commits

Author SHA1 Message Date
Nathan Adams
397d0f284a Fixed MemorySection list methods' return types + NPEs. This fixes BUKKIT-213, thanks to Sleaker 2011-12-09 15:50:20 +00:00
Andrew Ardill
56f4e89e06 EntityExplodeEvent: Add constructor that takes yeild parameter
The Ender Dragon causes blocks to explode as it flies through them.
These blocks by default do not drop any items, so the default yeild for
this explosion event is 0. Previously the event had the default value
hard-coded to 0.3F, which is inaccurate in this situation.

We derecate the constructor with no yield, as any default yield should
really be left up to the implementation to decide, not the API.
2011-12-07 23:56:15 +11:00
Andrew Ardill
db33bcd1e4 BREAKING: Change ConsoleCommandSender to an interface.
Implementations will now need to implement the console command sender.
This is done to increse the separation between the Bukkit API and it's
implementations. This allows the implementations more freedom when dealing
with consoles and reducing chances for breaking plugin compatibility in the
future.
2011-12-07 17:42:33 +11:00
Andrew Ardill
818842e652 Teach the API about Remote Consoles
This will allow us to raise events for remote consoles, and provide access
to them at a later date. Relates to BUKKIT-220
2011-12-07 17:42:32 +11:00
Nathan Adams
901832e041 Added Material.isEdible. Thanks simplyianm 2011-12-06 09:44:16 +00:00
Nathan Adams
d2a7e4701b Added method to retrieve all players on a server, online or offline 2011-12-04 17:56:41 +00:00
Nathan Adams
8d55e127bc I do believe that I made a typo 2011-12-04 11:08:40 +00:00
Nathan Adams
4155b1fb6c Added cause to PlayerTeleportEvent 2011-12-04 11:03:32 +00:00
Nathan Adams
2406704752 Bukkit will no longer leak tears. He has been cheered up. 2011-12-04 10:41:46 +00:00
Nathan Adams
edf26dfd5e Added /xp and /toggledownfall commands from vanilla 2011-12-02 06:38:33 +00:00
TomyLobo
8e2598b596 Added the missing effects to the Effect enum. 2011-11-30 23:56:03 +01:00
Nathan Adams
bb3b740b88 Deprecated player methods: getExperience setExperience due to new float value. Added giveExp, setExp, getExp 2011-11-30 22:30:47 +00:00
Andrew Ardill
4595a70056 Extend EntityCombustEvent to allow setting combustion duration.
Also extend with two new events that track the entity or block that caused
the combustion.
2011-11-29 20:56:08 +11:00
Andrew Ardill
1b5dc772b3 BREAKING CHANGE: BUKKIT-44 Fix Material Enum typo. Thanks Steeveeo! 2011-11-28 15:52:58 +11:00
Nathan Adams
bbff94e90a Added Enchantment.values() for retrieving all enchantments 2011-11-28 03:42:16 +00:00
Andrew Ardill
ee4a975998 Add MagmaCube interface.
Also, add MagmaCube to CreatureType Enum, as per BUKKIT-57. Thanks snowleo!
2011-11-28 11:12:08 +11:00
Andrew Ardill
fe1bfc3f43 BUKKIT-57 Add Snowman to CreatureType Enum. Thanks snowleo! 2011-11-28 10:48:02 +11:00
Andrew Ardill
6942fb9a8e BUKKIT-61 Add durability to BOW material type. Thanks snowleo! 2011-11-28 10:01:46 +11:00
Nathan Adams
349ddd27b7 Fixed issue adding mass enchantments to items 2011-11-27 03:58:12 +00:00
Nathan Adams
693dfdbe8f Added utility methods to ItemStack to allow mass adding of enchantments 2011-11-27 02:45:08 +00:00
Nathan Adams
24804f6419 Made ItemStack .equals take into account data and enchantments 2011-11-27 02:25:12 +00:00
Nathan Adams
aba0bbc70f Added Enchantment API 2011-11-27 01:35:47 +00:00
Nathan Adams
8cb9352259 Added world.getWorldFolder, server.getWorldContainer 2011-11-25 03:46:47 +00:00
Nathan Adams
c4f220b3ee Added new set/get age methods to Animals 2011-11-24 20:16:16 +00:00
Nathan Adams
e8004b0494 Made /version output same as startup output 2011-11-23 05:55:32 +00:00
Nathan Adams
f8544fc93a Added new biome enum values 2011-11-22 21:21:09 +00:00
Nathan Adams
47432229cf Fixed the fix of the fix of javaplugin.getResource 2011-11-22 00:03:16 +00:00
Nathan Adams
f1b0b8ebf3 BREAKING CHANGE: Renamed Material.WHITESTONE to ENDER_STONE. Added DRAGON_EGG. 2011-11-21 22:38:51 +00:00
Nathan Adams
7c6e0e8bb1 BREAKING CHANGE: Renamed Environment.SKYLANDS to THE_END 2011-11-21 22:38:06 +00:00
Nathan Adams
a3854a4646 Added EnderCrystal entity 2011-11-21 22:37:37 +00:00
Nathan Adams
bcd777459f Fixed typo for NETHER_WARTS 2011-11-19 20:23:28 -08:00
Nathan Adams
72c81ad08a Added various new 1.9 entities, blocks and items 2011-11-19 20:23:27 -08:00
Nathan Adams
0c203874e8 Added getMaxHealth to LivingEntity 2011-11-19 20:23:27 -08:00
Nathan Adams
ea427c3026 Added class type to CreatureType enum 2011-11-19 20:23:27 -08:00
Nathan Adams
27beb951f0 Fixed getResource not working post-reload, thanks to feildmaster 2011-11-13 11:11:45 +00:00
Nathan Adams
58f30039c8 Removed redundant TestEnum file 2011-11-13 10:00:50 +00:00
Luke GB
f0add99cbf Add more menus to site.xml 2011-11-13 09:57:19 +00:00
Feildmaster
c00f47e0e2 Added createSection(String path, Map<String, object> map) 2011-11-05 20:33:28 +00:00
Nathan Adams
841872d591 Fixed issue with hasPermission returning false wrongly 2011-11-02 22:49:25 +00:00
Nathan Adams
fec8835d56 Added getBukkitVersion to Server 2011-10-31 04:02:30 +00:00
Nathan Adams
cf34c6c305 Fixed using the wrong type of Map for storing perm attachment values 2011-10-27 22:03:21 +01:00
Nathan Adams
e33fce94b5 Added helper methods such as getStringList to ConfigurationSection 2011-10-26 09:47:51 +01:00
Nathan Adams
b1a44c2161 Fixed the /me command missing a space 2011-10-26 07:08:41 +01:00
Nathan Adams
15ebc7d902 Fixed stripColor taking more than it should, thanks to fieldmaster for catching it 2011-10-26 07:01:50 +01:00
Nathan Adams
bfa45985c5 Fixed issues with loading YamlConfigurations with typed keys 2011-10-26 06:56:36 +01:00
Erik Broes
eefcef5480 Revert "Added the ability to register commands dynamically."
This reverts commit 737d6347b1d74e13191df7c521d8db30fa174c9b.
Because this is *NOT* how it should be.
2011-10-13 18:27:34 +02:00
sk89q
e886509abc Added a case previously not covered by VehicleDestroyEvent for boats, updated VehicleDestroyEvent Javadocs. 2011-10-13 01:17:10 -07:00
sk89q
b04b8379c6 Added the ability to register commands dynamically. 2011-10-13 01:17:10 -07:00
Nathan Adams
5993f1cc16 Added new FileConfigurationOptions.copyHeader, defaulting to true. Copies the header from default config, if there is one. 2011-10-12 13:24:57 +01:00
Nathan Adams
db7bdbbd58 Loading a FileConfiguration (Yaml/) should remember the previously saved header 2011-10-12 05:03:47 +01:00