Tahg
7f07319472
improved some debug in Location
2012-01-09 01:20:54 -05:00
Nathan Adams
b9d901a305
Fixed YamlConfiguration creating empty lines when reading a file with no contents, and made it trim the initial newlines of any existing config header
2012-01-08 23:32:36 +00:00
EvilSeph
f131151325
Fixed NPE in ItemStack. Thanks jascotty2!
2012-01-07 19:58:26 -05:00
EvilSeph
187a961d2e
Added banlist command. Fixes BUKKIT-373. Thanks md-5!
2012-01-07 19:54:02 -05:00
Nathan Adams
423974f236
Fix NPE when saving config before the config is loaded - thanks to Wolvereness for the pull request
2012-01-07 15:11:22 +00:00
Erik Broes
b7d76e5266
Fix some updated item durability values
2012-01-05 17:07:25 +01:00
Erik Broes
c16cf3c24b
Fix max stacksize on Potions.
2012-01-05 17:00:57 +01:00
Erik Broes
fae6a198fa
Fix max stacksize on EnderPearls. Fixes BUKKIT-418
2012-01-04 09:43:17 +01:00
Erik Broes
d24afc06a9
Vector.getMidpoint should not modify the current Vector. Thanks TomyLobo for noticing.
2012-01-04 09:17:33 +01:00
Erik Broes
7235331440
Minor text changes
2012-01-04 09:09:25 +01:00
Erik Broes
dce83b6ce4
Generic cleanup of warnings, whitespace and style.
2011-12-25 16:02:30 +01:00
Nathan Adams
d9c22be882
Added plugin saveResources + saveDefaultConfig methods. This completes a bleeding branch by deltahat at http://forums.bukkit.org/threads/branch-complete-savedefaultconfig.48721/
2011-12-22 21:18:36 +00:00
Tahg
23e3fbaa07
Fixed some naming issues for creature types. Fix for BUKKIT-367
2011-12-20 18:01:44 -05:00
sleak
b1ae565f45
Fix for BUKKIT-313 - this makes getString return a string representation of whatever object is present at the path, rather than only returning if the object is a string
2011-12-19 16:13:07 +00:00
sleak
063414dda6
fix for BUKKIT-342 - getConfigurationSection returning the default section instead of creating a new section if defaults are present.
2011-12-19 16:13:07 +00:00
Nathan Adams
2d430c131b
BREAKING: ItemStack no longer implements Serializable
2011-12-12 23:19:03 +00:00
Nathan Adams
1927e22e33
Configuration methods .getX (int/double/etc) now try to cast existing values where possible. This fixes BUKKIT-290
2011-12-12 18:34:26 +00:00
Nathan Adams
3063833201
Added OfflinePlayer + Player .getLastPlayed, .getFirstPlayed, .hasPlayedBefore
2011-12-12 17:38:27 +00:00
Kevin
dd0a87901f
Adds Location.getChunk()
2011-12-11 21:13:45 -08:00
Nathan Adams
0d41282a7f
Added getKiller() method to LivingEntity, to determine the killer of an entity
2011-12-11 16:04:37 +00:00
Erik Broes
3e93f794d4
Add Bukkit.getAllowEnd(). Thanks codename-B!
2011-12-09 18:59:04 +01:00
Nathan Adams
09640d4ba3
Fixed silly NPE during shutdown when java becomes a meanie-pants and steals our lunch money :(
2011-12-09 17:14:00 +00:00
Nathan Adams
36b0a8873e
Override annotations do not belong here!
2011-12-09 16:24:23 +00:00
Nathan Adams
fc51ffee2e
Added onStructureGrow event, thanks to md-5.
2011-12-09 16:12:05 +00:00
Nathan Adams
f0f8169161
Fixed MemorySection list methods' return types + NPEs. This fixes BUKKIT-213, thanks to Sleaker
2011-12-09 15:50:20 +00:00
Andrew Ardill
dfd3aebb9c
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
49da1b543c
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
f2b19e14bf
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
bcc738fc91
Added Material.isEdible. Thanks simplyianm
2011-12-06 09:44:16 +00:00
Nathan Adams
548ee35ef6
Added method to retrieve all players on a server, online or offline
2011-12-04 17:56:41 +00:00
Nathan Adams
45cf9301e0
I do believe that I made a typo
2011-12-04 11:08:40 +00:00
Nathan Adams
19a96434b3
Added cause to PlayerTeleportEvent
2011-12-04 11:03:32 +00:00
Nathan Adams
f10b3c444b
Bukkit will no longer leak tears. He has been cheered up.
2011-12-04 10:41:46 +00:00
Nathan Adams
d8e3602925
Added /xp and /toggledownfall commands from vanilla
2011-12-02 06:38:33 +00:00
TomyLobo
d54ec9c852
Added the missing effects to the Effect enum.
2011-11-30 23:56:03 +01:00
Nathan Adams
6ea784f58c
Deprecated player methods: getExperience setExperience due to new float value. Added giveExp, setExp, getExp
2011-11-30 22:30:47 +00:00
Andrew Ardill
b9862ea779
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
cd942ae2ad
BREAKING CHANGE: BUKKIT-44 Fix Material Enum typo. Thanks Steeveeo!
2011-11-28 15:52:58 +11:00
Nathan Adams
de848fe4c9
Added Enchantment.values() for retrieving all enchantments
2011-11-28 03:42:16 +00:00
Andrew Ardill
e1410a61c5
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
14bdefcaa1
BUKKIT-57 Add Snowman to CreatureType Enum. Thanks snowleo!
2011-11-28 10:48:02 +11:00
Andrew Ardill
483b6516a2
BUKKIT-61 Add durability to BOW material type. Thanks snowleo!
2011-11-28 10:01:46 +11:00
Nathan Adams
4c8622a306
Fixed issue adding mass enchantments to items
2011-11-27 03:58:12 +00:00
Nathan Adams
514c79f42d
Added utility methods to ItemStack to allow mass adding of enchantments
2011-11-27 02:45:08 +00:00
Nathan Adams
755b63ee0f
Made ItemStack .equals take into account data and enchantments
2011-11-27 02:25:12 +00:00
Nathan Adams
4a005a0849
Added Enchantment API
2011-11-27 01:35:47 +00:00
Nathan Adams
d6f29fc8f3
Added world.getWorldFolder, server.getWorldContainer
2011-11-25 03:46:47 +00:00
Nathan Adams
b2e91c6cc4
Added new set/get age methods to Animals
2011-11-24 20:16:16 +00:00
Nathan Adams
3e80c0e369
Made /version output same as startup output
2011-11-23 05:55:32 +00:00
Nathan Adams
f25126e66d
Added new biome enum values
2011-11-22 21:21:09 +00:00