summaryrefslogtreecommitdiffstats
path: root/src/main
Commit message (Collapse)AuthorAgeLines
* Add ConfigurationSerializable-Serializable compatibility. Adds BUKKIT-4662Wesley Wolfe2013-08-06-0/+145
| | | | | | | | | | This commit adds a comaptibility layer for use between ConfigurationSerializable and Java Serializable, such that when using the Bukkit object streams, any ConfigurationSerializable acts as if it implements Serializable for purposes of that wrapped stream. Included are a set of unit tests for the stream with a check for backward compatibility across versions.
* Relax generic types for ConfigurationSerializationWesley Wolfe2013-08-06-5/+5
| | | | | | The method signatures are unnecessarily strict for the generic signatures. This change may cause a compile-time error for extending classes overriding methods, but no byte signature or compile time call signatures change.
* Pulling all pending Bukkit-JavaDoc changesEdmond Poon2013-08-03-43/+259
|
* Use player as point of reference for min volume. Fixes BUKKIT-4640Wesley Wolfe2013-08-03-2/+2
| | | | | | | | | | When the minimum volume is being used because the distance is over a threshold, the unit vector delta should be added to the player's location, instead of where the command specified location. This change makes the player's location the point of reference for playing sounds when distance to volume scale is lower than minimum specified volume.
* Add leash API. Adds BUKKIT-4459 and BUKKIT-4583T00thpick12013-08-03-0/+194
|
* Account for relative coordinates in PlaySound. Fixes BUKKIT-4639Wesley Wolfe2013-08-02-4/+16
|
* Add 1.6 effect clear functionality. Fixes BUKKIT-4473h31ix2013-08-02-1/+9
|
* Add 1.6 SpreadPlayers command. Fixes BUKKIT-4508h31ix2013-08-02-0/+255
|
* Add 1.6 PlaySound command. Fixes BUKKIT-4489h31ix2013-08-02-0/+102
|
* Add API to control scaled health. Adds BUKKIT-4590T00thpick12013-07-21-6/+30
|
* Add Horse API. Adds BUKKIT-4424h31ix2013-07-10-1/+361
| | | | | | API has been added to interface with Horses and to modify their inventories. A new event, HorseJumpEvent, has been added to be fired whenever a horse jumps. This commit fixes BUKKIT-4393.
* Update Bukkit for Minecraft 1.6.2Nate Mortensen2013-07-08-0/+16
|
* Add scale health display API. Adds BUKKIT-4432Wesley Wolfe2013-07-03-0/+21
|
* Update Bukkit for Minecraft 1.6.1Wesley Wolfe2013-07-01-24/+222
|
* Add PlayerBookEditEvent. Adds BUKKIT-1995Des Herriott2013-06-10-0/+125
| | | | Event related to book & quill and written book items.
* Consider full team display name. Fixes BUKKIT-4186mbax2013-06-05-1/+1
| | | | | Through a miscalculation, team display names were being created via command ignoring the first word in the submitted display names.
* Improve events for new inventory features. Adds BUKKIT-3859riking2013-06-03-60/+648
| | | | | | | | | | | | | | | | | | | | | | | | | This commit brings the InventoryClickEvent up to date with the new Minecraft changes in 1.5. InventoryDragEvent (thanks to @YLivay for his PR) is added to represent the new "dragging" or "painting" functionality, where if you hold an itemstack and click-drag over several slots, the items will be split evenly (left click) or 1 each (right click). The ClickType enum is used to represent what the client did to trigger the event. The InventoryAction enum is reserved for future expansion, but will be used to indicate the approximate result of the action. Additionally, handling of creative inventory editing is improved with the new InventoryCreativeEvent, and handling of numberkey presses is also improved within InventoryClickEvent and CraftItemEvent. Also, cancelling a creative click now displays properly on the client. Adresses BUKKIT-3692, BUKKIT-4035, BUKKIT-3859 (new 1.5 events), BUKKIT-2659, BUKKIT-3043, BUKKIT-2659, and BUKKIT-2897 (creative click events).
* Pulling all pending Bukkit-JavaDoc changesWesley Wolfe2013-05-16-96/+1057
|
* Move world generator warning to CraftBukkit. Fixes BUKKIT-2565Score_Under2013-04-30-1/+0
|
* Add inverted flag support to TrapDoor. Fixes BUKKIT-3390Peter Olson2013-04-18-3/+23
|
* Pulling all pending Bukkit-JavaDoc changesWesley Wolfe2013-04-13-7/+16
|
* Fix off-by-one error in DyeColor. Fixes BUKKIT-3938Acrobot2013-04-12-2/+2
|
* Correct 1.5 material data. Fixes BUKKIT-4004, BUKKIT-3785Travis Watkins2013-04-12-2/+59
|
* Consider first player name in leave command. Fixes BUKKIT-4051Wesley Wolfe2013-04-11-1/+1
|
* Consider arguments to team leave properly. Fixes BUKKIT-3994Wesley Wolfe2013-04-05-2/+2
| | | | | Two checks to argument length were changed to properly consider if the sender is a player instead of an off-by-one logical error.
* Use utility method for team-join display. Fixes BUKKIT-3997Wesley Wolfe2013-04-05-24/+2
| | | | | The method to make a string from a collection of strings already exists and should be used when adding multiple players to a team.
* Prevent classloader leak in metadata system. Fixes BUKKIT-3854crast2013-04-04-33/+26
| | | | | | | Metadata values keep strong reference to plugins and they are not cleared out when plugins are unloaded. This system adds weak reference logic to allow these values to fall out of scope. In addition we get some operations turning to O(1) "for free."
* Don't cache metadata store disambiguations. Fixes BUKKIT-3841crast2013-04-04-28/+4
| | | | | | | | | | | | | | | The metadata system generates unique keys for metadata entries based on the subject metadata is being applied to and the name of the metadata being applied. It was assumed this would be an expensive operation so a cache was put in place to ensure this was done as little as possible. In reality this cache only has a benefit when you have a hit rate above ~90% and is otherwise much slower. As the implementation of the cache is a hashmap of hashmaps it also uses a significant amount of memory which is not worth it even for the performance increase with a high hit rate. This commit simply removes the cache which results in speedups for most cases and large memory savings.
* Improve speed and memory use of FixedMetadataValue. Fixes BUKKIT-1460crast2013-04-04-8/+26
| | | | | | | | | | | | FixedMetadataValue currently just extends LazyMetadataValue with a value that never changes. While this works it is a lot of unneeded overhead that causes FixedMetadataValue to be a lot slower and use a lot more memory than one would expect. To correct this we store the value directly in FixedMetadataValue and override the the appropriate methods to use it. Ideally we would modify FixedMetadataValue to no longer extend LazyMetadataValue as this would give a very large memory savings. However, this is not currently done for backwards compatibility reasons.
* Refactor common metadata code into base class. Fixes BUKKIT-3624crast2013-04-04-59/+79
| | | | | | Implementing the MetadataValue interface is significant work due to having to provide a large amount of conversion stub methods. This commit adds a new optional abstract base class to aid in implementation.
* Add Scoreboard API and Command. Adds BUKKIT-3776, BUKKIT-3834mbax2013-04-03-0/+1171
| | | | | | | | | | | | The implementation is designed around having both a main scoreboard and numberous plugin managed scoreboards that can be displayed to specific players. Plugin managed scoreboards are active so long as a reference is kept by a plugin, or it has been registered as a player's active scoreboard. Objects specific to a scoreboard remain active until unregistered (which remove a reference to the owning scoreboard), but quickly fail if accessed post-unregistration.
* Pulling all pending Bukkit-JavaDoc changesEdmond Poon2013-04-02-505/+539
|
* Add Effect command. Adds BUKKIT-3763feildmaster2013-03-31-1/+113
|
* Add method to update state without physics update. Addresses BUKKIT-3939Travis Watkins2013-03-31-1/+17
|
* Add Beacon BlockState for hopper events. Fixes BUKKIT-3932Travis Watkins2013-03-29-0/+9
|
* Pulling all pending Bukkit-JavaDoc changesEdmond Poon2013-03-27-3/+23
|
* Allow fishing success rate to be adjustable. Adds BUKKIT-3837Andre LeBlanc2013-03-25-1/+23
|
* Add methods to check for conflicting enchantments. Adds BUKKIT-3830GJ2013-03-25-0/+16
|
* Add ability to change player item in hand. Adds BUKKIT-3318Patrick Seidel2013-03-24-1/+21
|
* Add Thorns to DamageCause - Related to BUKKIT-3505riking2013-03-23-0/+6
|
* Add InventoryMoveItemEvent. Adds BUKKIT-3765Dennis Bliefernicht2013-03-23-0/+109
| | | | | | This event is being called whenever a block or entity (e.g. hopper) tries to move an item from one inventory to another inventory (one inventory may be the hopper itself).
* Add Dropper BlockState. Adds BUKKIT-3750Xephi2013-03-21-1/+31
|
* Map old wildcard recipe data to new 1.5 value. Fixes BUKKIT-3849Travis Watkins2013-03-21-0/+11
|
* Add ability to modify ThrownPotion properties. Adds BUKKIT-3197Olof Larsson2013-03-21-0/+21
|
* Add method to get the source of a TNTPrimed. Adds BUKKIT-3815AlphaBlend2013-03-21-1/+19
|
* Add Fish (Hook) entity to PlayerFishEvent. Adds BUKKIT-1025Andre LeBlanc2013-03-20-0/+23
|
* Added the hasGravity method to Blocks. Adds BUKKIT-3832nitnelave2013-03-20-0/+17
|
* Pulling all pending Bukkit-JavaDoc changesEdmond Poon2013-03-20-15/+22
|
* BlockState for Command Blocks. Adds BUKKIT-3805.Nate Mortensen2013-03-19-0/+40
|
* Add an enum for Nether Wart growth stages. Adds BUKKIT-1599GJ2013-03-19-1/+106
|