summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeLines
...
* Update firework power when modifying meta. Fixes BUKKIT-3272Travis Watkins2012-12-22-1/+7
|
* Fire BlockDispenseEvent for fireworks. Adds BUKKIT-3246Travis Watkins2012-12-22-2/+38
|
* Add DispenseBehaviorFireworks and EntityFireworks for diff visibilityTravis Watkins2012-12-22-0/+147
|
* Allow fireworks to be created. Adds BUKKIT-3262feildmaster2012-12-22-0/+2
|
* One record per JukeBox.Wesley Wolfe2012-12-22-0/+1
|
* Add BlockJukeBox for diff visibilityWesley Wolfe2012-12-22-0/+76
|
* Implement API to get and set FireworkMeta on Firework entitiesfeildmaster2012-12-21-0/+30
|
* Implement Skull BlockState. Adds BUKKIT-3259meiskam2012-12-21-0/+203
|
* Added TileEntitySkull for diff visibilitymeiskam2012-12-21-0/+50
|
* Zero is not less than zero. Fixes BUKKIT-3259Wesley Wolfe2012-12-21-1/+1
|
* Check file existence before determining readOnly. Fixes BUKKIT-3255feildmaster2012-12-21-1/+1
|
* Update enchantment handling to 1.4.6. Fixes BUKKIT-3256feildmaster2012-12-21-2/+2
|
* Fix loading Items entities with an invalid item. Addresses BUKKIT-3249feildmaster2012-12-21-1/+12
|
* Don't save server properties when it's read only. Fixes BUKKIT-3250feildmaster2012-12-21-0/+5
|
* Fix command line arguments being ignored. Fixes BUKKIT-3247feildmaster2012-12-21-2/+2
|
* Add a null check for Item Entities. Fixes BUKKIT-3249feildmaster2012-12-21-0/+5
|
* Use max inventory size for new stack. Fixes BUKKIT-3240Wesley Wolfe2012-12-21-0/+1
|
* Implement 1.4.6 ItemMeta. Adds BUKKIT-3236, BUKKIT-3237Wesley Wolfe2012-12-21-80/+1337
| | | | | | | | | Some meta functionality is refactored into common methods. CraftItemStack uses the ItemMetaKey identifiers for enchantments. Refactored unit test to include extra functionality; initially only checking the presence of the DelegateDeserialization annotation.
* Add API to allow plugins to request players switch to a texture pack. Adds ↵Wojciech Stryjewski2012-12-20-0/+10
| | | | | | | | | | 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.
* Add the ability to make Enchanted Books. Fixes BUKKIT-3220feildmaster2012-12-20-4/+21
|
* Remove obsolete fix for the endfeildmaster2012-12-20-10/+0
| | | | The end was getting block offsets, causing client side issues.
* Fetch correct info for skulls in block.getDrops(). Fixes BUKKIT-3205Travis Watkins2012-12-20-3/+18
|
* [Bleeding] Fix exception in getChunkSnapshot() - sky light can be nullMike Primm2012-12-20-2/+6
|
* Filter invalid ItemStacks from Packets.feildmaster2012-12-20-1/+1
| | | | | Invalid ItemStacks are causing Fireworks to disconnect players and prevent them from reconnecting
* Update CraftBukkit to Minecraft 1.4.6feildmaster2012-12-20-1416/+1920
|
* [Bleeding] Check visibility API for sounds. Fixes BUKKIT-3114mbax2012-12-18-18/+2
| | | | | | | With 1.4, entity sound tracking changed for the better. Our previous method additions can now be removed. All that's left is checking if the source can be seen by the recipient of the sound packet. Thanks, Mojang!
* Fix PotionMeta not applying the correct Id. Fixes BUKKIT-3193feildmaster2012-12-18-1/+1
|
* Add missing name in PotionEffect for Witherfeildmaster2012-12-18-0/+2
|
* Refactor get/setChestPlate to Chestplate. Addresses BUKKIT-3189feildmaster2012-12-18-4/+4
|
* Change enchantment comparisons to isSimilar. Fixes BUKKIT-3183Wesley Wolfe2012-12-17-11/+3
| | | | | | | The purpose of the isSimilar method was designed to consider all NBT data, not solely enchantments, without the need to have exact stack size matches. The respective methods in CraftInventory were still comparing enchantments instead of the ItemMeta.
* Clarify functionality in CraftInventory. Fixes BUKKIT-3097Wesley Wolfe2012-12-17-9/+39
| | | | | | | | | | | Changes some NPEs to IllegalArgumentExceptions for exception consistency. Contains(ItemStack, int) correctly calculates number of ItemStacks. Adds a containsAtLeast(ItemStack, int) for finding a combined amount of a single similar ItemStack. Makes some utility methods private to prevent ambiguity in use.
* Implement ItemFactory and ItemMeta values. Adds BUKKIT-15Wesley Wolfe2012-12-17-294/+3745
|
* ItemStack.asBukkitStack(null) should return Air. Fixes BUKKIT-3170feildmaster2012-12-15-4/+5
|
* Add isRecord and new material method tests.Wesley Wolfe2012-12-14-90/+122
| | | | | Cleaned up all of the CraftBukkit tests, including moving some tests from MaterialTest to PerMaterialTest.
* Fix EntityEquipment positions being reversed. Fixes BUKKIT-3157deathmarine2012-12-12-6/+6
|
* Load chunks asynchronously for players.Travis Watkins2012-12-12-22/+345
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a player triggers a chunk load via walking around or teleporting there is no need to stop everything and get this chunk on the main thread. The client is used to having to wait some time for this chunk and the server doesn't immediately do anything with it except send it to the player. At the same time chunk loading is the last major source of file IO that still runs on the main thread. These two facts make it possible to offload chunks loaded for this reason to another thread. However, not all parts of chunk loading can happen off the main thread. For this we use the new AsynchronousExecutor system to split chunk loading in to three pieces. The first is loading data from disk, decompressing it, and parsing it in to an NBT structure. The second piece is creating entities and tile entities in the chunk and adding them to the world, this is still done on the main thread. The third piece is informing everyone who requested a chunk load that the load is finished. For this we register callbacks and then run them on the main thread once the previous two stages are finished. There are still cases where a chunk is needed immediately and these will still trigger chunk loading entirely on the main thread. The most obvious case is plugins using the API to request a chunk load. We also must load the chunk immediately when something in the world tries to access it. In these cases we ignore any possibly pending or in progress chunk loading that is happening asynchronously as we will have the chunk loaded by the time they are finished. The hope is that overall this system will result in less CPU time and pauses due to blocking file IO on the main thread thus giving more consistent performance. Testing so far has shown that this also speeds up chunk loading client side although some of this is likely to be because we are sending less chunks at once for the client to process. Thanks for @ammaraskar for help with the implementation of this feature.
* Add RegionFile from mc-dev for diff visibilityTravis Watkins2012-12-12-0/+250
|
* Add utility class AsynchronousExecutorWesley Wolfe2012-12-12-0/+294
| | | | | | This class is a general purpose task execution system, that uses stages to separate processing blocks for asynchronous and synchronous executions.
* Don't run mob pickup code on players. Fixes BUKKIT-3150Travis Watkins2012-12-12-1/+2
| | | | | | | When a player has canPickUpLoot set to true the code for mob pickup is triggerd which does not know how to deal with player inventory. Since players have their own logic for picking up items we simply disable this code for them.
* Fix players not being able to pickup items due to default values.feildmaster2012-12-11-7/+16
| | | | | | | | The old flag for picking up loot was default to false, making existing players not able to pickup items. We now use this flag for Players, which gives us the problem we had in 48b46f83. To fix this, we add an incremental flag that will be cross-examined to check if the data was saved before or after the flag level was introduced. Addresses BUKKIT-3143
* Players should be able to pick up items by default. Fixes BUKKIT-3143feildmaster2012-12-10-0/+1
| | | | As an added feature, players defaulted to being able to not pick up items if the flag was false. However, since minecraft doesn't normally use the flag on players, the flag was always false.
* Missed a renamefeildmaster2012-12-10-1/+1
|
* Add EntityEquipment API. Adds BUKKIT-3103feildmaster2012-12-10-3/+213
| | | | | | | | Adds: - Getting/Setting equipment - getting/setting drop rates - getting/setting ability to pick up items -- As an added feature, players with this flag start off with a canceled PlayerPickupItemEvent
* [Bleeding] Correct getEyeHeight value. Fixes BUKKIT-3130h31ix2012-12-10-1/+1
|
* Only display help aliases when there are aliases. Fixes BUKKIT-1621feildmaster2012-12-10-3/+6
|
* Pass null help values values as empty strings to HelpTopicsfeildmaster2012-12-10-10/+10
| | | | Fixes BUKKIT-2618 and BUKKIT-2561
* [Bleeding] Fix NPE with a null bedSpawnLocation. Fixes BUKKIT-1500EdGruberman2012-12-10-2/+7
|
* Add isSolid() tests for each materialWesley Wolfe2012-12-09-0/+45
|
* Implement FurnaceExtractEvent. Adds BUKKIT-2114feildmaster2012-12-08-0/+16
|
* Add SlotFurnaceResult for diff visibilityfeildmaster2012-12-08-0/+69
|