Commit graph

1049 commits

Author SHA1 Message Date
Bukkit/Spigot
d97df0f9dc Fix NPE when saving config before the config is loaded - thanks to Wolvereness for the pull request
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-07 15:11:22 +00:00
Bukkit/Spigot
e6e1d06b1c Fix some updated item durability values
By: Erik Broes <erikbroes@grum.nl>
2012-01-05 17:07:25 +01:00
Bukkit/Spigot
ca35082981 Fix max stacksize on Potions.
By: Erik Broes <erikbroes@grum.nl>
2012-01-05 17:00:57 +01:00
Bukkit/Spigot
0de0137f88 Fix max stacksize on EnderPearls. Fixes BUKKIT-418
By: Erik Broes <erikbroes@grum.nl>
2012-01-04 09:36:43 +01:00
Bukkit/Spigot
4924569e95 Vector.getMidpoint should not modify the current Vector. Thanks TomyLobo for noticing.
By: Erik Broes <erikbroes@grum.nl>
2012-01-04 09:17:05 +01:00
Bukkit/Spigot
6a81f9ccab Minor text changes
By: Erik Broes <erikbroes@grum.nl>
2012-01-04 09:05:28 +01:00
Bukkit/Spigot
aaab1cba23 Generic cleanup of warnings, whitespace and style.
By: Erik Broes <erikbroes@grum.nl>
2011-12-25 16:02:30 +01:00
Bukkit/Spigot
98960fd73e Added plugin saveResources + saveDefaultConfig methods. This completes a bleeding branch by deltahat at http://forums.bukkit.org/threads/branch-complete-savedefaultconfig.48721/
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-22 21:18:36 +00:00
Bukkit/Spigot
7540ab7e68 Fixed some naming issues for creature types. Fix for BUKKIT-367
By: Tahg <tahgtahv@gmail.com>
2011-12-20 16:10:54 -05:00
Bukkit/Spigot
732b59ed1e 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
By: sleak <sleak@sleak-PC>
2011-12-16 09:27:54 -08:00
Bukkit/Spigot
1082fbba2a fix for BUKKIT-342 - getConfigurationSection returning the default section instead of creating a new section if defaults are present.
By: sleak <sleak@sleak-PC>
2011-12-16 09:23:53 -08:00
Bukkit/Spigot
8535006335 BREAKING: ItemStack no longer implements Serializable
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 23:19:03 +00:00
Bukkit/Spigot
579869d184 Updated version to 1.0.1-R2-SNAPSHOT for development towards next release
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 22:07:00 +00:00
Bukkit/Spigot
03de44dd05 Updated version to 1.0.1-R1 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2011-12-12 14:41:30 -05:00
Bukkit/Spigot
efa01d0a28 Configuration methods .getX (int/double/etc) now try to cast existing values where possible. This fixes BUKKIT-290
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 18:34:26 +00:00
Bukkit/Spigot
f6bfce4fa1 Added OfflinePlayer + Player .getLastPlayed, .getFirstPlayed, .hasPlayedBefore
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 17:38:27 +00:00
Bukkit/Spigot
602f06a913 Adds Location.getChunk()
By: Kevin <kingersoll@gmail.com>
2011-12-11 21:13:45 -08:00
Bukkit/Spigot
c98c245890 Added getKiller() method to LivingEntity, to determine the killer of an entity
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-11 16:04:37 +00:00
Bukkit/Spigot
2a9dad1626 Add Bukkit.getAllowEnd(). Thanks codename-B!
By: Erik Broes <erikbroes@grum.nl>
2011-12-09 18:50:49 +01:00
Bukkit/Spigot
f63d8e600d Fixed silly NPE during shutdown when java becomes a meanie-pants and steals our lunch money :(
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 17:13:47 +00:00
Bukkit/Spigot
a41e663ef3 Override annotations do not belong here!
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 16:24:23 +00:00
Bukkit/Spigot
7aff3534fa Added onStructureGrow event, thanks to md-5.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 16:12:05 +00:00
Bukkit/Spigot
96311db0bf Fixed MemorySection list methods' return types + NPEs. This fixes BUKKIT-213, thanks to Sleaker
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 15:50:20 +00:00
Bukkit/Spigot
8feccf30cc 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.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 23:56:15 +11:00
Bukkit/Spigot
b0481cb922 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.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 16:43:56 +11:00
Bukkit/Spigot
a4a2fa8690 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

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 16:37:35 +11:00
Bukkit/Spigot
1d06c840a4 Added Material.isEdible. Thanks simplyianm
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-06 09:44:16 +00:00
Bukkit/Spigot
56b92a4f45 Added method to retrieve all players on a server, online or offline
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 17:56:41 +00:00
Bukkit/Spigot
712ca9d3b6 I do believe that I made a typo
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 11:08:40 +00:00
Bukkit/Spigot
f3ddaaf09f Added cause to PlayerTeleportEvent
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 11:03:32 +00:00
Bukkit/Spigot
c90d52a4d3 Bukkit will no longer leak tears. He has been cheered up.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 10:41:46 +00:00
Bukkit/Spigot
1c103e443d Added /xp and /toggledownfall commands from vanilla
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-02 06:37:42 +00:00
Bukkit/Spigot
5be8bd5ba5 Added the missing effects to the Effect enum.
By: TomyLobo <tomylobo@nurfuerspam.de>
2011-11-28 18:40:04 +01:00
Bukkit/Spigot
b3819b1bbb Deprecated player methods: getExperience setExperience due to new float value. Added giveExp, setExp, getExp
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-30 22:30:47 +00:00
Bukkit/Spigot
ae4cd083ac Extend EntityCombustEvent to allow setting combustion duration.
Also extend with two new events that track the entity or block that caused
the combustion.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 20:50:38 +11:00
Bukkit/Spigot
3055f33fca BREAKING CHANGE: BUKKIT-44 Fix Material Enum typo. Thanks Steeveeo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 15:52:11 +11:00
Bukkit/Spigot
159c512a9f Added Enchantment.values() for retrieving all enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-28 03:41:40 +00:00
Bukkit/Spigot
2aca23d84a Add MagmaCube interface.
Also, add MagmaCube to CreatureType Enum, as per BUKKIT-57. Thanks snowleo!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 11:12:08 +11:00
Bukkit/Spigot
fa2fabd4ec BUKKIT-57 Add Snowman to CreatureType Enum. Thanks snowleo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 10:48:02 +11:00
Bukkit/Spigot
be588e1004 BUKKIT-61 Add durability to BOW material type. Thanks snowleo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 09:49:22 +11:00
Bukkit/Spigot
da2c7fcc14 Fixed issue adding mass enchantments to items
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 03:58:12 +00:00
Bukkit/Spigot
636640607d Added utility methods to ItemStack to allow mass adding of enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 02:45:08 +00:00
Bukkit/Spigot
868b48c82c Made ItemStack .equals take into account data and enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 02:25:12 +00:00
Bukkit/Spigot
aa5b203974 Added Enchantment API
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 00:26:31 +00:00
Bukkit/Spigot
409c447cbd Added world.getWorldFolder, server.getWorldContainer
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-25 03:46:47 +00:00
Bukkit/Spigot
34f857ad15 Added new set/get age methods to Animals
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 20:16:16 +00:00
Bukkit/Spigot
d29402070b Made /version output same as startup output
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-23 05:55:32 +00:00
Bukkit/Spigot
b2c01fec3c Added new biome enum values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-22 21:21:09 +00:00
Bukkit/Spigot
8afb3fdf8e Fixed the fix of the fix of javaplugin.getResource
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-22 00:03:16 +00:00
Bukkit/Spigot
96e7ebd630 BREAKING CHANGE: Renamed Material.WHITESTONE to ENDER_STONE. Added DRAGON_EGG.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:38:51 +00:00