Commit graph

862 commits

Author SHA1 Message Date
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
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