Nathan Adams
88a1512ee3
Fixed nullcheck error message on null plugin (see previous commit)
2012-01-14 14:32:56 +00:00
Nathan Adams
63673c496f
Nullcheck in registerEvent (thanks to an old PR by LRFLEW - I'm sorry for the wait!)
2012-01-14 14:31:00 +00:00
Nathan Adams
682988ca75
Added 5 new biomes as included in MC 1.1 as part of #BUKKIT-496
2012-01-14 13:13:25 +00:00
md-5
d4a9b5c489
Allow proper integration with NMS WorldTypes
2012-01-14 11:15:56 +11:00
Nathan Adams
ce4f4af087
Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/
2012-01-13 08:53:14 +00:00
md-5
389d70dbe2
Make getByName actually return values.
2012-01-13 07:32:32 +01:00
Nathan Adams
1cba399b72
Added new 1.1 items, enchantments. Added WorldType, and a method to set/get the type of a world at creation.
2012-01-12 22:17:18 +00:00
Tahg
db392bc0f2
Further fix to Location.
2012-01-10 00:20:43 -05:00
EvilSeph
af8b5d0b9b
Revert "Improved some debug in Location."
...
This reverts commit 0569e71b26ffc88a5b752ce1217c3ba33e6586e9.
2012-01-09 23:55:43 -05:00
Tahg
774a3b1342
Improved some debug in Location.
2012-01-09 23:44:46 -05:00
Tahg
b063a7246a
Added timings command.
2012-01-09 23:44:17 -05:00
Tahg
f6154042c0
Added data argument to vanilla give command
2012-01-09 01:20:54 -05:00
Tahg
355c7ba241
improved some debug in Location
2012-01-09 01:20:54 -05:00
Nathan Adams
7f37ce3dc1
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
30bb875342
Fixed NPE in ItemStack. Thanks jascotty2!
2012-01-07 19:58:26 -05:00
EvilSeph
b1815cc6c6
Added banlist command. Fixes BUKKIT-373. Thanks md-5!
2012-01-07 19:54:02 -05:00
Nathan Adams
76c23ee588
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
5743c3bccf
Fix some updated item durability values
2012-01-05 17:07:25 +01:00
Erik Broes
e85468010b
Fix max stacksize on Potions.
2012-01-05 17:00:57 +01:00
Erik Broes
8e51e711ad
Fix max stacksize on EnderPearls. Fixes BUKKIT-418
2012-01-04 09:43:17 +01:00
Erik Broes
2312c4d258
Vector.getMidpoint should not modify the current Vector. Thanks TomyLobo for noticing.
2012-01-04 09:17:33 +01:00
Erik Broes
c5063fa024
Minor text changes
2012-01-04 09:09:25 +01:00
Erik Broes
b9fca3c04d
Generic cleanup of warnings, whitespace and style.
2011-12-25 16:02:30 +01:00
Nathan Adams
a345613cfa
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
bd24fdfacc
Fixed some naming issues for creature types. Fix for BUKKIT-367
2011-12-20 18:01:44 -05:00
sleak
189768185c
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
28372908d7
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
72135a8e83
BREAKING: ItemStack no longer implements Serializable
2011-12-12 23:19:03 +00:00
Nathan Adams
03fa22001b
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
4daf43b09b
Added OfflinePlayer + Player .getLastPlayed, .getFirstPlayed, .hasPlayedBefore
2011-12-12 17:38:27 +00:00
Kevin
022bae1198
Adds Location.getChunk()
2011-12-11 21:13:45 -08:00
Nathan Adams
7f06f7ffa8
Added getKiller() method to LivingEntity, to determine the killer of an entity
2011-12-11 16:04:37 +00:00
Erik Broes
e180d89b8f
Add Bukkit.getAllowEnd(). Thanks codename-B!
2011-12-09 18:59:04 +01:00
Nathan Adams
a7beacd2ff
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
3ae2ce4c30
Override annotations do not belong here!
2011-12-09 16:24:23 +00:00
Nathan Adams
bbbda45739
Added onStructureGrow event, thanks to md-5.
2011-12-09 16:12:05 +00:00
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