Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | [Bleeding] Added a Metadata framework for Entities, Blocks, and Worlds | rmichela | 2012-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-844 | Wesley Wolfe | 2012-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-853 | Score_Under | 2012-02-29 | -2/+10 |
| | ||||
* | [Bleeding] Fixes deadlock issue and generic usage. Fixes BUKKIT-844 and ↵ | Wesley Wolfe | 2012-02-29 | -37/+60 |
| | | | | fixes BUKKIT-854 | |||
* | [Bleeding] Fixed MapPalette.imageToBytes to properly handle transparency. ↵ | SpaceManiac | 2012-02-29 | -1/+1 |
| | | | | Addresses BUKKIT-852 | |||
* | Narrowed down the return type of most EntityEvent subclasses for ↵ | TomyLobo | 2012-02-28 | -52/+139 |
| | | | | convenience. Addresses BUKKIT-809 | |||
* | Event system optimizations. Addresses BUKKIT-813 | TomyLobo | 2012-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-825 | TomyLobo | 2012-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-807 | TomyLobo | 2012-02-27 | -6/+16 |
| | ||||
* | Adjust plugin enable/disable logging | EdGruberman | 2012-02-26 | -4/+4 |
| | ||||
* | Add a CreateReason to PortalCreateEvent. Addresses BUKKIT-833 | Sam Wilson | 2012-02-26 | -2/+28 |
| | ||||
* | Added service register and unregister events. Addresses BUKKIT-816 | zml2008 | 2012-02-26 | -4/+84 |
| | ||||
* | [Bleeding] Add constructor to BlockFromToEvent for dragon egg teleportation. ↵ | Celtic Minstrel | 2012-02-25 | -2/+10 |
| | | | | Addresses BUKKIT-828 | |||
* | [Bleeding] Fixed potion tests. | Celtic Minstrel | 2012-02-25 | -21/+32 |
| | ||||
* | [Bleeding] Add missing methods to Bukkit class, fix non-static methods, and ↵ | Celtic Minstrel | 2012-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-effect | Celtic Minstrel | 2012-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 Minstrel | 2012-02-25 | -14/+59 |
| | | | | level. Addresses BUKKIT-818 | |||
* | Updated README.md with more coding and pull request conventions and tips to ↵ | EvilSeph | 2012-02-24 | -4/+18 |
| | | | | get your pull request accepted. | |||
* | [Bleeding] Fixed EntityType errors. Fixes BUKKIT-800 | Feildmaster | 2012-02-23 | -8/+13 |
| | ||||
* | [Bleeding] Fix deserialization for unsafe enchantments. Fixes BUKKIT-793 | Wesley Wolfe | 2012-02-23 | -1/+1 |
| | ||||
* | [Bleeding] Added launchProjectile. | aPunch | 2012-02-23 | -0/+20 |
| | | | | Use launchProjectile in place of individual throwSnowball, throwEgg, and shootArrow methods | |||
* | [Bleeding] Added EntityType to replace CreatureType. | Celtic Minstrel | 2012-02-22 | -13/+258 |
| | ||||
* | [Bleeding] Added BlockGrowEvent. Addresses BUKKIT-104 | Feildmaster | 2012-02-22 | -24/+58 |
| | ||||
* | [Bleeding] getHandlers() is now abstract. | Feildmaster | 2012-02-21 | -3/+1 |
| | ||||
* | [Bleeding] Add ways to retrieve and delete crafting recipes and fixed some ↵ | Celtic Minstrel | 2012-02-21 | -81/+226 |
| | | | | | | | | | issues with the existing recipe API. - New recipe iterator which enables deleting specific recipes - Functions to delete all recipes or revert to vanilla recipe set - Fixed the recipes API; you should now be able to define recipes that take brewed potions! - Fetch all recipes that result in a specific item | |||
* | [Bleeding] Cleanup clone methods. | Wesley Wolfe | 2012-02-20 | -30/+204 |
| | ||||
* | Improved readability for /whitelist list. Addresses BUKKIT-772 | Feildmaster | 2012-02-19 | -1/+1 |
| | ||||
* | [Bleeding] Event no longer implements Serializable. | Feildmaster | 2012-02-19 | -170/+4 |
| | ||||
* | [Bleeding] Remove deprecated events (EndermanPickup/Place). | Feildmaster | 2012-02-19 | -102/+0 |
| | ||||
* | [Bleeding] Specify event name in exception. Addresses BUKKIT-778 | Feildmaster | 2012-02-19 | -14/+5 |
| | ||||
* | [Bleeding] Added Enchantment and misc tests to ItemStack (de)serialization | Wesley Wolfe | 2012-02-19 | -8/+7 |
| | ||||
* | [Bleeding] Added Enchantment and misc tests to ItemStack (de)serialization | Wesley Wolfe | 2012-02-19 | -0/+76 |
| | ||||
* | [Bleeding] Fixed class cast in ItemStack deserialization. Fixes BUKKIT-777 | Wesley Wolfe | 2012-02-19 | -1/+1 |
| | ||||
* | [Bleeding] Exception cleanup. Addresses BUKKIT-774 | Wesley Wolfe | 2012-02-18 | -131/+67 |
| | ||||
* | [Bleeding] Skip InvocationTargetException. Addresses BUKKIT-774 | Wesley Wolfe | 2012-02-18 | -2/+14 |
| | ||||
* | [Bleeding] Added ability to unregister listeners, updated javadoc and | SpaceManiac | 2012-02-18 | -8/+72 |
| | | | | renamed allLists. Addresses BUKKIT-773 | |||
* | Add getEntitiesByClass(Class<T>) and getEntitiesByClasses(Class<?>...), ↵ | Mike Primm | 2012-02-18 | -0/+15 |
| | | | | deprecate getEntitiesByClass(Class<T>...) | |||
* | Fixed Validate message. | EvilSeph | 2012-02-18 | -1/+1 |
| | ||||
* | Updated EntityTeleportEvent in line with deprecation cleanup. | EvilSeph | 2012-02-18 | -1/+1 |
| | ||||
* | Deprecation cleanup. | Erik Broes | 2012-02-18 | -4280/+409 |
| | ||||
* | Added RemoteServerCommandEvent. | Erik Broes | 2012-02-18 | -0/+25 |
| | ||||
* | [Bleeding] Made PotionEffectTypes final, added reasons for deprecation. | fullwall | 2012-02-18 | -21/+22 |
| | | | | Fixes BUKKIT-768 and BUKKIT-769 | |||
* | Updated version to 1.1-R5-SNAPSHOT for development towards next release. | EvilSeph | 2012-02-13 | -1/+1 |
| | ||||
* | Updated version to 1.1-R4 in pom.xml for RB. | EvilSeph | 2012-02-13 | -1/+1 |
| | ||||
* | [Bleeding] Update serialVersionUID. | Wesley Wolfe | 2012-02-13 | -2/+2 |
| | ||||
* | [Bleeding] Added ability to register and listen to SubEvents. Addresses | Feildmaster | 2012-02-13 | -7/+2 |
| | | | | BUKKIT-585 | |||
* | [Bleeding] Cleanup of exceptions org.bukkit.plugin.Invalid* | Zeerix | 2012-02-13 | -44/+15 |
| | | | | | Removed throwable and message, because the superclass already stores them Added message of inner exception to the outer exception to make the first line of the stacktrace more verbose | |||
* | Allow cloning ItemStacks with unsafe enchantments. Fixes BUKKIT-621 | mushroomhostage | 2012-02-13 | -1/+1 |
| | | | | Prevents "IllegalArgumentException: Specified enchantment cannot be applied to this itemstack"). | |||
* | Fixed typos and add usage message to timings command. | Travis Watkins | 2012-02-10 | -10/+12 |
| | ||||
* | [Bleeding] Added Potions API. Fixes BUKKIT-389 | fullwall | 2012-02-10 | -1/+891 |
| |