summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Don't use deprecated interface.Travis Watkins2013-03-17-1/+3
|
* Add Hopper block state and inventory type. Adds BUKKIT-3749Michael Limiero2013-03-17-0/+12
|
* Validate method parameters when registering events. Fixes BUKKIT-3779feildmaster2013-03-16-2/+2
|
* Moved all specific minecart entities to sub-package.Wesley Wolfe2013-03-16-33/+107
| | | | | | | | | | | | | | | | | | | This change is breaking for the new API for 1.5, including the interfaces for the three new Minecart types and the name of the previously TNT_MINECART material. This change also deprecates the two previous specific minecart types located in the org.bukkit.entity package. This deprecation is not a breaking change and will still be internally supported. Each minecart type has new javadoc to be slightly more descriptive. Included with this are specific references to the interface for each respective EntityType entry. Another package-info.java file has been included as well. All specific minecart types extend minecart, each with a more descriptive name. The naming will also follow the old convention. In addition, the minecart with no specific designation is now more closely referred to as a rideable minecart.
* Use proper naming convention for boolean methods.Travis Watkins2013-03-15-1/+1
|
* Update Bukkit for Minecraft 1.5Travis Watkins2013-03-15-5/+108
|
* Removed superfluous recalculation call; Fixes BUKKIT-3728Jeffrey Wardian2013-03-12-2/+0
| | | | | | | | | The permission attachment interface provides two methods each for setting and unsetting permissions. Each one also provides an extra call to the recalculatePermissions() method on the permissible, which degrades performance. This commit removes the duplicate call to recalculate permissions.
* Convert name to lower case for removePermission; Fixes BUKKIT-3726Max A2013-03-11-2/+2
| | | | | | | Permissions are stored as lower case names and referenced as such in all appropriate methods but removePermission. This changes removePermission to also convert names to lower case to be consistent with the rest of the API.
* Test PluginManager.removePermissionEdGruberman2013-03-11-25/+129
| | | | | | | | | | | | | | | Static methods are death to testability. However, irrelevant static methods can be negotiated with until a later time in which they can be removed. When instantiating a new Permission object, static calls are made to the Bukkit class during a recalculatePermissibles logic path. This recalculatePermissibles call should probably be moved appropriately, but until the time such testing can be accomplished itself, these tests work around that situation by simply verifying the static Bukkit server references are satisfied since what is called as a result is irrelevant currently. This commit also updates a few other tests for PluginManagerTest to work towards the standard of using the Hamcrest unit testing library.
* Add PlayerItemConsumeEvent. Adds BUKKIT-2349Travis Watkins2013-03-02-0/+75
|
* Pulling all pending Bukkit-JavaDoc changesWesley Wolfe2013-02-22-14/+292
|
* Fix ClassCastException for malformed plugin.yml. Fixes BUKKIT-3563Wesley Wolfe2013-02-03-2/+9
| | | | | | If the plugin.yml gets loaded but wasn't in the form of a map, the server would crash. This safely checks to see if it can be cast, throwing invalid description if it cannot.
* Updated version to 1.4.7-R1.1-SNAPSHOT for development towards next release.EvilSeph2013-01-30-1/+1
|
* Updated version to 1.4.7-R1.0 in pom.xml for RB.EvilSeph2013-01-30-1/+1
|
* Fix invalid integers in spawnpoint command. Fixes BUKKIT-3509feildmaster2013-01-26-5/+19
| | | | | getInteger returns min value on illegal number formats, so we change behavior to throw an exception when requested.
* Only use TravelAgent if supplied; Addresses BUKKIT-3466EdGruberman2013-01-24-1/+1
| | | | If there is no TravelAgent assigned, it can not be used.
* Don't try listing something that may not exist. Fixes BUKKIT-3471feildmaster2013-01-23-0/+2
| | | | | The player name may not be provided, in which case the command will fail hard.
* Improve javadoc in 26 files.feildmaster2013-01-22-144/+253
| | | | | | Addresses: BUKKIT-1643, BUKKIT-1868, BUKKIT-1846, BUKKIT-2632, BUKKIT-3196, BUKKIT-3187, BUKKIT-3198, BUKKIT-3200, BUKKIT-3201 and BUKKIT-3417.
* [Bleeding] Add experimental support for entity portal travelingEdGruberman2013-01-19-2/+107
| | | | | | | | | EntityPortalEvent is called when an entity is about to portal to a new location. This event is cancellable on top of being able to change the exit location. EntityPortalExitEvent is called when exiting the portal, allowing for adjustment of the exit velocity.
* Updated version to 1.4.7-R0.2-SNAPSHOT for development towards next release.EvilSeph2013-01-17-1/+1
|
* Updated version to 1.4.7-R0.1 in pom.xml for Beta.EvilSeph2013-01-17-1/+1
|
* Update Bukkit to Minecraft 1.4.7feildmaster2013-01-17-1/+1
|
* Added negative id check to Material.getMaterial(int). Fixes BUKKIT-3414MikeMatrix2013-01-15-1/+2
| | | | Negative id values would try to access the array out of bounds and throw an java.lang.ArrayIndexOutOfBoundsException.
* Switch DyeColor firework Colors. Fixes BUKKIT-3382Wesley Wolfe2013-01-05-16/+16
| | | | | The firework colors were based on the respective wool data values. This means the colors were in reverse order.
* Clarify dye and wool color datas in DyeColor. Addresses BUKKIT-2786Wesley Wolfe2013-01-05-38/+152
| | | | | | | | | | | | DyeColor used the wool data for getData(), which is very misleading based on class name. The old method has been deprecated and replaced with getWoolData() and getDyeData() for the appropriate types of data values. The MaterialData classes Dye and Wool were updated appropriately, especially Dye innapropriately using a DyeColor data value compensation. Unit tests were added for the new methods, as well as the getColor on Dye and Wool.
* Add experience methods for PlayerFishEvent. Adds BUKKIT-3348feildmaster2013-01-01-0/+23
|
* Updated version to 1.4.6-R0.4-SNAPSHOT for development towards next release.EvilSeph2012-12-31-1/+1
|
* Updated version to 1.4.6-R0.3 in pom.xml for Beta.EvilSeph2012-12-31-1/+1
|
* Updated version to 1.4.6-R0.3-SNAPSHOT for development towards next release.EvilSeph2012-12-29-1/+1
|
* Updated version to 1.4.6-R0.2 in pom.xml for Beta.EvilSeph2012-12-29-1/+1
|
* Don't allow nulls in PlayerRespawnEvent. Fixes BUKKIT-2571feildmaster2012-12-29-0/+4
|
* Add method to get defult leather color. Adds BUKKIT-3203Wesley Wolfe2012-12-27-3/+12
| | | | | The default leather color is already used internally in place of null. The javadocs were updated appropriately to indicate as such.
* Use correct warning in JavaPluginLoader. Fixes BUKKIT-3315Wesley Wolfe2012-12-27-2/+2
| | | | | The warning message printed with the stack traces on the deprecated methods mistakingly use the wrong method signature in the description.
* Fix menus for relative pathing.Luke GB2012-12-23-2/+2
| | | | | | This fixes the Maven generated site so the paths are relative. This is required so that multiple generations of the javadocs can be hosted at once, and so no cross-linking occurs.
* Add methods to set and reset max health. Adds BUKKIT-266feildmaster2012-12-23-40/+61
|
* Remove duplicate message for console. Fixes BUKKIT-3267Travis Watkins2012-12-23-4/+0
|
* Updated version to 1.4.6-R0.2-SNAPSHOT for development towards next release.EvilSeph2012-12-22-1/+1
|
* Updated version to 1.4.6-R0.1 in pom.xml for Beta.EvilSeph2012-12-22-1/+1
|
* Add firework api to get and set Firework ItemMetafeildmaster2012-12-21-0/+14
|
* Add Skull BlockState and Type enum. Adds BUKKIT-3258meiskam2012-12-21-0/+71
|
* Add enchantment storage meta. Adds BUKKIT-3237Wesley Wolfe2012-12-21-0/+65
| | | | | | | | | | | Books can 'store' enchantments that can be applied to other items later. These enchantments exist seperately of enchantments that actually effect the item, and are as stated 'stored' in the book instead of the book being enchanted. The meta is generically named as the concept could be applied to other item types later, such as a enchantment scroll. All of the methods mimic those in the base meta, but instead specify 'stored' in each method name.
* Add FireworkEffect and respective item metas. Adds BUKKIT-3236Wesley Wolfe2012-12-21-24/+595
| | | | | | | | | FireworkEffect is an immutable class that requires the builder pattern to construct, to reduce ambiguity and help make code uses more readable. FireworkMeta contains a list of effects, as well as a flight height. FireworkEffectMeta contains a single effect for charges.
* Add API to allow plugins to request players switch to a texture pack. Adds ↵Wojciech Stryjewski2012-12-20-0/+23
| | | | | | | | | | BUKKIT-2579 The setTexturePack method causes the player's client to download and switch to a texture pack specified by a URL. Note: Players can disable server textures on their client, in which case this API would not affect them.
* Update Bukkit to Minecraft 1.4.6feildmaster2012-12-20-2/+73
|
* Updated version to 1.4.5-R1.1-SNAPSHOT for development towards next release.EvilSeph2012-12-19-1/+1
|
* Updated version to 1.4.5-R1.0 in pom.xml for RB.EvilSeph2012-12-19-1/+1
|
* Apply commandBlockOutput to broadcastMessage. Addresses BUKKIT-3117feildmaster2012-12-18-1/+7
|
* Refactor get/setChestPlate to Chestplate. Addresses BUKKIT-3189feildmaster2012-12-18-2/+2
| | | | This method was inconsistent with previous methods.
* Fix MaterialData directions being incorrect. Fixes BUKKIT-3160feildmaster2012-12-18-86/+113
| | | | | | | | Prior to 49690f9, BlockFaces were mostly correct in their respective MaterialData classes. However, a lot of things were not updated since implementation and broke without being addressed. This fixes any discrepancies with Block data.
* Deprecate methods in JavaPluginLoader and PluginClassLoaderWesley Wolfe2012-12-18-35/+172
| | | | | | | | | | | | | | These methods are unnecessarily exposed. They are specific to a type of implementation for the class loaders, and should have no external use. Because these methods are exposed, it limits the versatility to change how the internal class loading system works, including an inherent class loader leak for some situations. They are now replaced with internal, package-private methods. The public facing methods will print a stack trace the first time one is activated. Extending the classes also produces a stack trace, to indicate that extension is not actively supported.