Commit Graph

975 Commits

Author SHA1 Message Date
Bukkit/Spigot
f320f18067 Config .get*List will return an empty list of the appropriate type instead of null when the value does not exist. Thanks to krinsdeath for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:04:08 +00:00
Bukkit/Spigot
44c58c4952 Don't send events to disabled plugins.
By: Feildmaster <admin@feildmaster.com>
2012-01-15 02:14:28 -06:00
Bukkit/Spigot
4e9fcec4a4 Changed PluginDisableEvent to fire before the disabling of a plugin, instead of after (where it's then invalid). Thanks to holic for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 08:16:57 +00:00
Bukkit/Spigot
0c182ec82d Fixed documentation of getNearbyEntities in Entity. Thanks to epuidokas for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 07:38:14 +00:00
Bukkit/Spigot
9b1383591b Fixed Leaves.getSpecies returning null on higher data values. Thanks to Wolvereness for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 07:33:02 +00:00
Bukkit/Spigot
a80bc820c6 Added new methods to set a players respawned level/exp/totalExp in PlayerDeathEvent. Thanks to Feildmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:54:03 +00:00
Bukkit/Spigot
72add08a6d Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:42:57 +00:00
Bukkit/Spigot
39874ebf1a Added entity.playEffect, thanks to main-- in an (unfortunately old) PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:35:52 +00:00
Bukkit/Spigot
40f4710726 Added ItemDespawnEvent
By: Feildmaster <admin@feildmaster.com>
2011-10-16 20:47:49 -05:00
Bukkit/Spigot
544b0a05ae Fixed nullcheck error message on null plugin (see previous commit)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 14:32:56 +00:00
Bukkit/Spigot
d87866b158 Nullcheck in registerEvent (thanks to an old PR by LRFLEW - I'm sorry for the wait!)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 14:31:00 +00:00
Bukkit/Spigot
35da0ddfa3 Added 5 new biomes as included in MC 1.1 as part of #BUKKIT-496
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 13:13:25 +00:00
Bukkit/Spigot
c0bb2b55b2 Allow proper integration with NMS WorldTypes
By: md-5 <md_5@bigpond.com>
2012-01-14 11:15:56 +11:00
Bukkit/Spigot
48ecb11c09 Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-13 08:51:10 +00:00
Bukkit/Spigot
dee3ecfa81 Make getByName actually return values.
By: md-5 <md_5@bigpond.com>
2012-01-13 16:12:55 +11:00
Bukkit/Spigot
ae73f553fc Added new 1.1 items, enchantments. Added WorldType, and a method to set/get the type of a world at creation.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-12 22:16:31 +00:00
Bukkit/Spigot
bc02c87c2a Bumped version to 1.1-R1-SNAPSHOT
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-12 19:09:21 +00:00
Bukkit/Spigot
d03379a043 Further fix to Location.
By: Tahg <tahgtahv@gmail.com>
2012-01-10 00:20:03 -05:00
Bukkit/Spigot
0bc50733b5 Revert "Improved some debug in Location."
This reverts commit 0569e71b26ffc88a5b752ce1217c3ba33e6586e9.

By: EvilSeph <evilseph@gmail.com>
2012-01-09 23:55:43 -05:00
Bukkit/Spigot
21e1a5b725 Improved some debug in Location.
By: Tahg <tahgtahv@gmail.com>
2012-01-09 23:44:46 -05:00
Bukkit/Spigot
387d09faa1 Added timings command.
By: Tahg <tahgtahv@gmail.com>
2012-01-09 01:09:10 -05:00
Bukkit/Spigot
05581b02a4 Added data argument to vanilla give command
By: Tahg <tahgtahv@gmail.com>
2012-01-09 01:09:36 -05:00
Bukkit/Spigot
0d95472921 improved some debug in Location
By: Tahg <tahgtahv@gmail.com>
2011-12-27 06:05:24 -05:00
Bukkit/Spigot
e73be72fae Fixed YamlConfiguration creating empty lines when reading a file with no contents, and made it trim the initial newlines of any existing config header
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-08 23:29:33 +00:00
Bukkit/Spigot
5fc8f4f576 Fixed NPE in ItemStack. Thanks jascotty2!
By: EvilSeph <evilseph@gmail.com>
2012-01-07 19:58:26 -05:00
Bukkit/Spigot
0f21027498 Added banlist command. Fixes BUKKIT-373. Thanks md-5!
By: EvilSeph <evilseph@gmail.com>
2012-01-07 19:54:02 -05:00
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