Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add LongObjectHashMap and LongHashSet | Travis Watkins | 2012-08-19 | -357/+839 |
| | | | | | | | | | | | | | | | Replace uses of LongHashtable and LongHashset with new implementations. Remove EntryBase, LongBaseHashtable, LongHashset, and LongHashtable as they are no longer used. LongObjectHashMap does not use Entry or EntryBase classes internally for storage so has much lower object churn and greater performance. LongHashSet is not as much of performance win for our use case but for general use is up to seventeen times faster than the old implementation and is in fact faster than alternatives from "high performance" java libraries. This is being added so that if someone tries to use it in the future in a place unrelated to its current use they don't accidentally end up with something slower than the Java collections HashSet implementation. | |||
* | Add iterator cache to UnsafeList and use it in hotspots | Travis Watkins | 2012-08-19 | -14/+109 |
| | | | | | Adds a specialized iterator for the list and a pool of iterators to avoid object churn. Also optimizes the clear() method to reduce object creation. | |||
* | Fix issues with chunk saving. Fixes BUKKIT-2158, BUKKIT-2018 and BUKKIT-2229 | Mike Primm | 2012-08-19 | -18/+5 |
| | ||||
* | Add more detailed CrashReport for CraftBukkit. Addresses BUKKIT-2319 | Wesley Wolfe | 2012-08-17 | -0/+41 |
| | ||||
* | Use correct SlotType's for merchants. Fixes BUKKIT-2257 | feildmaster | 2012-08-15 | -0/+7 |
| | ||||
* | Implement methods for spawning FallingBlocks and add various FallingBlock ↵ | feildmaster | 2012-08-14 | -4/+49 |
| | | | | methods. Adds BUKKIT-2282 | |||
* | Update CreatureSpawner.setSpawnedType(EntityType) to 1.3 | feildmaster | 2012-08-12 | -4/+5 |
| | | | | They can spawn any valid entities now. What is a "valid" entity? A "valid" entity is an EntityType with a non-null getName(). (for example: PRIMED_TNT, FALLING_BLOCK) | |||
* | Implement player speed API. Addresses BUKKIT-2205 | Wesley Wolfe | 2012-08-10 | -0/+35 |
| | ||||
* | Implement new deprecated warning state configuration option | Wesley Wolfe | 2012-08-06 | -1/+8 |
| | ||||
* | Put forceChunkLoad back to its original value. | Travis Watkins | 2012-08-05 | -2/+8 |
| | ||||
* | Implement new AsyncPlayerChatEvent. Addresses BUKKIT-2064 | Wesley Wolfe | 2012-08-03 | -1/+124 |
| | | | | | | | | | | | | | | | | | | | | | Added two utility collections for use with PlayerChatEvents allowing lazier initialization of events and less need to synchronize against the player list. Provided a hidden queue system for similar logic to pre-1.3 chat. When a plugin is listening for the deprecated PlayerChatEvent, all chat will be delayed to be mirror executed from the main thread. All developers are encouraged to immediately update to the developmental Bukkit chat API as a minimum transition for server stability. Additionally, changes were required to bring thread-safety to the flow logic. CopyOnWriteArrayList is the only viable means to produce thread safety with minimal diff; using a sane pre-implemented collection would require reworking of sections of NMS logic. As a minor change, implemented expected functionality for PlayerCommandPreProcessEvent. Setting the player should now change the player executing the command. | |||
* | Fix mapping of ChunkSection nibble data to snapshot. Fixes BUKKIT-1977 | Mike Primm | 2012-08-02 | -5/+5 |
| | ||||
* | Add trailing / to BukkitDL URLs. Fixes BUKKIT-2015. | Luke Granger-Brown | 2012-08-02 | -4/+13 |
| | | | | | Also adds CraftBukkit version number to user agent when communicating with BukkitDL. | |||
* | Update CraftBukkit to Minecraft 1.3.1 | feildmaster | 2012-08-02 | -122/+249 |
| | ||||
* | Implement getExpToLevel method. Fixes BUKKIT-1906 | feildmaster | 2012-07-11 | -4/+4 |
| | ||||
* | [Bleeding] Include chunk biome data for refresh chunk. Fixes BUKKIT-1166 | Mike Primm | 2012-07-08 | -11/+7 |
| | ||||
* | Factor invulnerableTicks into getNoDamageTicks. Fixes BUKKIT-1324 | feildmaster | 2012-07-04 | -0/+9 |
| | ||||
* | Implement getMotd, and reload the motd. Adds BUKKIT-1799 | feildmaster | 2012-07-03 | -2/+7 |
| | ||||
* | Apply setLastDamageCause after processing events and the event has not been ↵ | feildmaster | 2012-07-02 | -1/+6 |
| | | | | | | | | canceled. Fixes BUKKIT-1881 This allows previous causes to be available during the event, as well as making the damage cause a valid one. If EntityDamageEvent is canceled, then it's not the last DamageCause. Also prevents setting DamageCause involuntarily through construction. | |||
* | Treat ComplexParts as proxies for setLastDamageCause. Fixes BUKKIT-1821 | feildmaster | 2012-07-02 | -0/+11 |
| | ||||
* | Clean entity.damage functions. Fixes BUKKIT-1822 | feildmaster | 2012-07-02 | -22/+7 |
| | ||||
* | Fix deprecated spawnCreature. Fixes BUKKIT-1880 | Wesley Wolfe | 2012-07-02 | -1/+1 |
| | ||||
* | Mark entities as invalid when they get despawned. Addresses BUKKIT-810 | Travis Watkins | 2012-06-28 | -0/+4 |
| | ||||
* | Implement LivingEntity.hasLineOfSight. Addresses BUKKIT-1255 | TomyLobo | 2012-06-23 | -0/+5 |
| | ||||
* | Deprecate spawnCreature and add spawnEntity. Addresses BUKKIT-1168 | V10lator | 2012-06-23 | -6/+6 |
| | ||||
* | Trigger EntityBlockChangeEvent for Silverfish. Adds BUKKIT-1560 and BUKKIT-1593 | feildmaster | 2012-06-23 | -0/+7 |
| | ||||
* | Implement plugin channel events. Addresses BUKKIT-1844 | Wesley Wolfe | 2012-06-21 | -2/+8 |
| | ||||
* | Fire PlayerItemBreakEvent. Addresses BUKKIT-1600 | Travis Ralston | 2012-06-21 | -0/+6 |
| | ||||
* | Clear animal owner when untamed. Fixes BUKKIT-1482 | Ammar Askar | 2012-06-20 | -0/+3 |
| | ||||
* | Add query-plugins setting. Addresses BUKKIT-1781 | H31IX | 2012-06-20 | -0/+4 |
| | ||||
* | Changes '/whitelist list' to ignore comments. Addresses BUKKIT-1804 | Jeff Wardian | 2012-06-14 | -0/+3 |
| | ||||
* | Preserve whitelist ordering. Addresses BUKKIT-1805 | Jeff Wardian | 2012-06-14 | -1/+2 |
| | ||||
* | Fire NotePlayEvent. Fixes BUKKIT-1779 | obnoxint | 2012-06-14 | -0/+6 |
| | ||||
* | Support asynchronous events; Addresses BUKKIT-1212 | Wesley Wolfe | 2012-06-13 | -0/+4 |
| | ||||
* | Check world before checking distance. Fixes BUKKIT-1792 | Wesley Wolfe | 2012-06-12 | -0/+4 |
| | ||||
* | Launch fireballs at eye location. Fixes BUKKIT-1155 | feildmaster | 2012-06-03 | -2/+4 |
| | ||||
* | Make log-strip-color a simple flag instead of a boolean. | Travis Watkins | 2012-06-02 | -5/+1 |
| | ||||
* | Resize UnsafeList to initial capacity when cleared and implement clone. | Travis Watkins | 2012-06-01 | -6/+20 |
| | ||||
* | Fix bold states while printing; Fixes BUKKIT-1716 | Wesley Wolfe | 2012-05-26 | -8/+8 |
| | ||||
* | Change mapping of Gold from yellow bold to yellow; Addresses BUKKIT-1717 | Wesley Wolfe | 2012-05-26 | -1/+1 |
| | ||||
* | Removed AnimalTamer cache, fixes BUKKIT-1628 | Wesley Wolfe | 2012-05-24 | -18/+7 |
| | ||||
* | Fixed broken hashCode() | Wesley Wolfe | 2012-05-24 | -5/+2 |
| | ||||
* | Add in checks for potential NPEs. Fixes BUKKIT-1706 and BUKKIT-1590. | Travis Watkins | 2012-05-24 | -1/+13 |
| | ||||
* | Re-implement World.getTemperature and World.getHumidity | Score_Under | 2012-05-23 | -2/+2 |
| | ||||
* | Replace TextWrapper with simple newline splitting. Fixes BUKKIT-1662 | Travis Watkins | 2012-05-16 | -79/+16 |
| | | | | | | | | | | | TextWrapper used to try to ensure a message would wrap correctly on the client by counting the width of the characters in pixels and wrapping before hitting that limit. This was needed because the client would lose color information when wrapping and could not handle long lines of text. Now that both of these problems are solved in the client we can replace TextWrapper with simple code to split the message into multiple packets on newlines and ensure chat colors carry across to the new packet. | |||
* | Fix block place protection using a larger radius. Fixes BUKKIT-1617 | feildmaster | 2012-05-16 | -1/+1 |
| | ||||
* | Add option to strip color codes from server.log file | Travis Watkins | 2012-05-16 | -0/+6 |
| | ||||
* | Update to jline 2. Fixes BUKKIT-717 | EdGruberman | 2012-05-15 | -28/+35 |
| | | | | | JLine 2 allows for better color matching in the console and support for colors in console on Windows. Hopefully provides better performance as well. | |||
* | Revert "Fix potential NPE in vanish API. Fixes BUKKIT-1541" | feildmaster | 2012-04-27 | -8/+0 |
| | | | | | | This reverts commit ebf121800bd3161e4af0f6d9229ccb39c31fc278. If the handle ever becomes null we need to know about it so we can debug it further. | |||
* | Remove Player cache and edit CraftPlayer.equals to account for EntityID. ↵ | feildmaster | 2012-04-27 | -42/+20 |
| | | | | Fixes BUKKIT-1541 and Addresses BUKKIT-761 |