summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeLines
* [Bleeding] Added ConversationAbandonedEvent and supporting infrastructure. ↵rmichela2012-03-08-6/+149
| | | | Whenever a conversation exits, the ConversationAbandonedEvent is triggered with details about how the conversation ended and what, if anything caused it to end. Fixes BUKKIT-986
* [Bleeding] Added local echo toggle to Conversation and ConversationFactory ↵rmichela2012-03-08-1/+37
| | | | objects. Fixes BUKKIT-1007.
* Fixed javadoc typo, it should read: "celticminstrel is a poopy head."Nathan Adams2012-03-03-1/+1
|
* Added three new effects for zombies nomming on doors. This adds BUKKIT-961Nathan Adams2012-03-03-0/+12
|
* [Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602Wesley Wolfe2012-03-02-1/+1
|
* Added Villager API for getting/setting Profession. This adds BUKKIT-887Nathan Adams2012-03-03-1/+57
|
* Fixed Ocelot.Type lookup - this fixes BUKKIT-952Nathan Adams2012-03-03-0/+6
|
* Added VERSION_1_1 WorldTypeNathan Adams2012-03-02-3/+3
|
* Added JUNGLE tree to TreeType enum - this fixes BUKKIT-886Nathan Adams2012-03-02-0/+4
|
* Implemented snapshot support for 1.2.Mike Primm2012-03-02-0/+7
|
* Added a bunch of new 1.2 entities; this partially resolves BUKKIT-872 and ↵Nathan Adams2012-03-01-1/+85
| | | | BUKKIT-885.
* [Bleeding] Fixed naughty plugins crashing server.Wesley Wolfe2012-03-01-17/+28
|
* Added isEmpty to BlockChangeDelegate - this implements BUKKIT-868. Also ↵Nathan Adams2012-03-01-0/+10
| | | | changed version to 1.2.2-R0.1-SNAPSHOT for the upcoming beta.
* Updated Bukkit API for 1.2Nathan Adams2012-03-01-2/+8
|
* We build for 1.5.EvilSeph2012-03-01-9/+8
|
* [Bleeding] Added Help API. Addresses BUKKIT-863rmichela2012-03-01-35/+596
|
* [Bleeding] Added Conversations API. Addresses BUKKIT-864rmichela2012-03-01-2/+1446
|
* [Bleeding] MaterialData fixes. Addresses BUKKIT-842Celtic Minstrel2012-03-01-48/+631
|
* [Bleeding] Added sharp() and natural() factory functions to mirror the ↵Celtic Minstrel2012-02-29-5/+106
| | | | flat() one, sharped() and flattened() functions to get a note from an existing note, a toString(), and more tests. Addresses BUKKIT-861
* [Bleeding] Allow sharping notes that aren't sharpable, and a factory method ↵Celtic Minstrel2012-02-29-2/+17
| | | | | | to create flat notes. Addresses BUKKIT-861 - Uses enharmonic equivalences to rewrite the note in the normalized form, E-sharp becomes F and A-flat becomes G-sharp
* Add missing achievements to the Achievement enumCeltic Minstrel2012-02-29-1/+12
|
* Adding/expanding documentationCeltic Minstrel2012-02-29-16/+162
|
* Fix javadoc errors/warningsCeltic Minstrel2012-02-29-65/+79
|
* Revert Plugin to Interface, added PluginBaseFeildmaster2012-02-29-75/+63
| | | | Fixed Tests, moved TestPlugin out of messaging
* [Bleeding] Optimized locToBlock. Addresses BUKKIT-815Wesley Wolfe2012-02-29-10/+22
|
* Add optional prefix value to plugin.yml. Addresses BUKKIT-838Aidan Matzko2012-02-29-2/+14
|
* Re-added launchProjectile lost due to incorrect conflict resolution.EvilSeph2012-02-29-0/+9
|
* [Bleeding] Inventory framework and events. Addresses BUKKIT-856Celtic Minstrel2012-02-29-68/+1074
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New events: - InventoryOpenEvent - InventoryClickEvent - detects any clicks on a slot or outside the window - In the creative inventory view, only clicks on the quickbar are detected - InventoryCloseEvent - BrewEvent - when a potion finishes brewing - CraftItemEvent (a subevent of InventoryClickEvent) - fired when taking the crafted item - PrepareItemCraftEvent - fired just before updating the result slot Changes to existing events: - EnchantItemEvent extends InventoryEvent and also has a new whichButton() method - PrepareItemEnchantEvent also extends InventoryEvent - FurnaceBurnEvent and FurnaceSmeltEvent now extend BlockEvent (as does BrewEvent) - PlayerInventoryEvent is deprecated (though it never did anything anyway) New subclasses of Inventory: - BrewerInventory - CraftingInventory - DoubleChestInventory - EnchantingInventory - FurnaceInventory New methods in Inventory: - getViewers() - getTitle() - getType() - getHolder() - iterator() - Yes, inventories are now iterable! - The iterator is a ListIterator that does not support add or remove New methods in Player: - getOpenInventory() - openInventory() - openWorkbench() - openEnchanting() - closeInventory() - setWindowProperty() - getItemOnCursor() - setItemOnCursor() Other changes: - createInventory() methods in Server to make inventories not linked to an object - ContainerBlock is deprecated in favour of InventoryHolder - New InventoryView class gives direct access to an inventory window! - Removed the Slot class which did nothing and was used nowhere Some small credit goes to Afforess (initial conception of openInventory() methods) and Drakia (initial conception of InventoryOpenEvent and InventoryCloseEvent).
* Implementation of richer playEffect methods. Addresses BUKKIT-857Celtic Minstrel2012-02-29-18/+87
|
* Fixed PlayerPortalEvent constructor.EvilSeph2012-02-29-2/+2
|
* Added NETHER_PORTAL and END_PORTAL to the TeleportCause enum. Addresses ↵James Clarke2012-02-29-0/+13
| | | | | | | BUKKIT-265 Added new NETHER_PORTAL and END_PORTAL values to the TeleportCause enum and relevant constructor for PlayerPortalEvent.
* Fixed null pointer exception in config.getMapList().Kevin2012-02-29-0/+4
|
* Moved getVehicle, leaveVehicle and isInsideVehicle from LivingEntity to ↵TomyLobo2012-02-29-33/+24
| | | | Entity. Addresses BUKKIT-811
* [Bleeding] Added a Metadata framework for Entities, Blocks, and Worldsrmichela2012-02-29-72/+1058
| | | | | | | | | | | | | | | | | | | | This metadata implementation has the following features: - All metadata is lazy. Metadata values are not actually computed until another plugin requests them. Memory and CPU are conserved by not computing and storing unnecessary metadata values. - All metadata is cached. Once a metadata value is computed its value is cached in the metadata store to prevent further unnecessary computation. An invalidation mechanism is provided to flush the cache and force recompilation of metadata values. - All metadata is stored in basic data types. Convenience methods in the MetadataValue class allow for the conversion of metadata data types when possible. Restricting metadata to basic data types prevents the accidental linking of large object graphs into metadata. Metadata is persistent across the lifetime of the application and adding large object graphs would damage garbage collector performance. - Metadata access is thread safe. Care has been taken to protect the internal data structures and access them in a thread safe manner. - Metadata is exposed for all objects that descend from Entity, Block, and World. All Entity and World metadata is stored at the Server level and all Block metadata is stored at the World level. - Metadata is NOT keyed on references to original objects - instead metadata is keyed off of unique fields within those objects. Doing this allows metadata to exist for blocks that are in chunks not currently in memory. Additionally, Player objects are keyed off of player name so that Player metadata remains consistent between logins. - Metadata convenience methods have been added to all Entities, Players, Blocks, BlockStates, and World allowing direct access to an individual instance's metadata. - Players and OfflinePlayers share a single metadata store, allowing player metadata to be manipulated regardless of the player's current online status.
* [Bleeding] Cleaned up unsafe casts. Addresses BUKKIT-844Wesley Wolfe2012-02-29-175/+166
| | | | | | | | | | Removed internal collection leaks from PluginDescriptionFile BREAKING: PluginDescriptionFile.getAuthors() now returns List instead of ArrayList Various places with unsafe generics, notably List<Object> getList() in Configurations are now referenced as <?>. This is nonbreaking, but sourcecode will need to be revised when compiled.
* [Bleeding] Fixed file handle leak in /timings command. Addresses BUKKIT-853Score_Under2012-02-29-2/+10
|
* [Bleeding] Fixes deadlock issue and generic usage. Fixes BUKKIT-844 and ↵Wesley Wolfe2012-02-29-37/+60
| | | | fixes BUKKIT-854
* [Bleeding] Fixed MapPalette.imageToBytes to properly handle transparency. ↵SpaceManiac2012-02-29-1/+1
| | | | Addresses BUKKIT-852
* Narrowed down the return type of most EntityEvent subclasses for ↵TomyLobo2012-02-28-52/+139
| | | | convenience. Addresses BUKKIT-809
* Event system optimizations. Addresses BUKKIT-813TomyLobo2012-02-28-51/+38
| | | | | - Made the handlers field a simple array instead of an array of arrays. - Got rid of the "baked" field.
* Reduced excessive exception handling in NumberConversions. Addresses BUKKIT-825TomyLobo2012-02-28-12/+12
| | | | | This also allows, for instance, to parse complex numbers with imaginary part=0, if the according toString method omits zero components. This also saves some unboxing (Foo.valueOf returns a wrapper, while Foo.parseFoo returns a primitive)
* Added missing BlockState functions. Addresses BUKKIT-807TomyLobo2012-02-27-6/+16
|
* Adjust plugin enable/disable loggingEdGruberman2012-02-26-4/+4
|
* Add a CreateReason to PortalCreateEvent. Addresses BUKKIT-833Sam Wilson2012-02-26-2/+28
|
* Added service register and unregister events. Addresses BUKKIT-816zml20082012-02-26-4/+84
|
* [Bleeding] Add constructor to BlockFromToEvent for dragon egg teleportation. ↵Celtic Minstrel2012-02-25-2/+10
| | | | Addresses BUKKIT-828
* [Bleeding] Fixed potion tests.Celtic Minstrel2012-02-25-21/+32
|
* [Bleeding] Add missing methods to Bukkit class, fix non-static methods, and ↵Celtic Minstrel2012-02-25-4/+55
| | | | add a junit test to ensure both these problems will be caught in future.
* [Bleeding] Add ability for the Potion class to represent no-effectCeltic Minstrel2012-02-25-24/+143
| | | | | | | | | | | | potions. Addresses BUKKIT-817 - Potion's type can be null - Add Potion.setType() - New Potion constructors which do not take a PotionType parameter - Potion constructor chainers splash() and extend() added - Add PotionType.getMaxLevel() and PotionType.isInstant() - Add PotionType.WATER which is a very special case - Make PotionType.getDamageValue() public
* [Bleeding] Deprecate the pointless Potion.Tier enum in favour of a numeric ↵Celtic Minstrel2012-02-25-14/+59
| | | | level. Addresses BUKKIT-818