summaryrefslogtreecommitdiffstats
path: root/src/main
Commit message (Collapse)AuthorAgeLines
...
* Fix inaccurate head yaw. Fixes BUKKIT-1702Charles Daffern2012-05-23-0/+5
|
* Use jansi's Windows support for terminal colors.Travis Watkins2012-05-23-0/+1
|
* Remove "failed to querty stty columns" spam. Fixes BUKKIT-1669.Travis Watkins2012-05-23-5/+13
| | | | | | | | When trying to execute stty to get terminal properties an InterruptedException can be triggered even though we've read all of the output from stty that we need. Instead of printing a warning and returning -1 in this case try to parse what data we do have and reset the cache timer. May also address BUKKIT-1627 and BUKKIT-1686.
* Add files from jline for diff visibilityTravis Watkins2012-05-23-0/+309
|
* Add fallback for when jline fails to initialize. Fixes BUKKIT-1675.Travis Watkins2012-05-23-2/+12
|
* [Bleeding] Improve handling of ItemStacks. Addresses BUKKIT-1697md_52012-05-23-3/+10
|
* Re-implement World.getTemperature and World.getHumidityScore_Under2012-05-23-2/+2
|
* Don't cap food level at 20 when eating. Fixes BUKKIT-1667Travis Watkins2012-05-17-1/+2
| | | | | | | | | The amount of food gained when eating is used for calculating the food saturation value so capping it at 20 at this point causes us to get incorrect results. FoodMetaData.eat caps it at 20 anyway so we're safe to not do so here. Also readds a line from mc-dev that was mistakenly removed.
* Replace TextWrapper with simple newline splitting. Fixes BUKKIT-1662Travis Watkins2012-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.
* Revert obsolete "fix" for Redstone Torchesfeildmaster2012-05-17-4/+1
|
* Assert that the block is still present after placement. Fixes BUKKIT-1399feildmaster2012-05-17-1/+1
|
* Fix block place protection using a larger radius. Fixes BUKKIT-1617feildmaster2012-05-16-1/+1
|
* Add option to strip color codes from server.log fileTravis Watkins2012-05-16-3/+21
|
* Add ConsoleLogFormatter for diff visibilityTravis Watkins2012-05-15-0/+51
|
* Update to jline 2. Fixes BUKKIT-717EdGruberman2012-05-15-31/+45
| | | | | JLine 2 allows for better color matching in the console and support for colors in console on Windows. Hopefully provides better performance as well.
* Use a different temp file for each player to avoid corruption. Fixes BUKKIT-1607Travis Watkins2012-05-09-1/+1
|
* Fire events for fireball item usage. Fixes BUKKIT-1566Travis Watkins2012-05-09-0/+20
|
* Add ItemFireball from mc-dev for diff visibilityTravis Watkins2012-05-09-0/+55
|
* Revert "Fix potential NPE in vanish API. Fixes BUKKIT-1541"feildmaster2012-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. ↵feildmaster2012-04-27-42/+20
| | | | Fixes BUKKIT-1541 and Addresses BUKKIT-761
* Don't call event if getOwner is null. Fixes BUKKIT-1545Travis Watkins2012-04-25-3/+7
|
* Fix growing large tress near world height. Fixes BUKKIT-1072md_52012-04-25-2/+2
|
* Check if packet is null before checking priority. Fixes BUKKIT-1579Travis Watkins2012-04-25-1/+1
|
* Optimized a little too much. Update goals every tick again to avoid AI oddness.Travis Watkins2012-04-24-6/+2
|
* Fixed per-world spawn limits. I have no idea how we missed this.Travis Watkins2012-04-24-7/+10
|
* Update players when potion effects are moved from them. Fixes BUKKIT-789Travis Watkins2012-04-24-1/+6
|
* Remove address from throttle hashmap before killing socket. Fixes BUKKIT-659Travis Watkins2012-04-24-1/+2
|
* Remove "Fetching addPacket..." spam as it isn't useful. Fixes BUKKIT-32Travis Watkins2012-04-24-2/+4
|
* Fix potential NPE in vanish API. Fixes BUKKIT-1541Travis Watkins2012-04-24-0/+8
|
* Remove legacy Chunk cache. Fixes BUKKIT-1400feildmaster2012-04-24-29/+12
|
* Load player data before calling PlayerLoginEvent. Fixes BUKKIT-1531 and ↵feildmaster2012-04-23-2/+3
| | | | Fixes BUKKIT-601.
* We build for Java 1.5.EvilSeph2012-04-23-1/+1
|
* Add per-world spawn limits with fallback to server-wide bukkit.yml settings.Travis Watkins2012-04-23-1/+81
| | | | Fixes BUKKIT-1565
* Avoid doing unnecessary range checks when we're looping from start to end.Travis Watkins2012-04-23-44/+207
| | | | | | | | | | | | | | | | | | Make EntityLiving call AI logic every tick again. Rework PathfinderGoalSelector logic. Adds UnsafeList for use in places where we use ArrayList and know we won't get index out of range errors. Added usage to World's tickEntities, Chunk's entitySlices to speed up searching for entities, and to PathfinderGoalSelector to speed up dealing with AI goals. Reworked logic in PathfinderGoalSelector with help from fullwall. This code no longer uses an extra ArrayList for setting up goals and only updates which goals should be run every other time it is called. Removed only calling PathfinderGoalSelector every other tick from EntityLiving as we now only setup new goals every other tick. This ensures existing goals run every tick to properly update mob movement.
* Optimize AI and EntityLiving tickingTravis Watkins2012-04-21-30/+47
| | | | | | | | Reduce usage of getCubes as it is an expensive call. Remove iterator usage and object creation from PathfinderGoalSelector methods as these are called very often. Update EntityLiving goal selectors less often as this is still quite an expensive task.
* Add PathfinderGoalSelector for diff visibilityTravis Watkins2012-04-21-0/+91
|
* Rework clipping logic again, now works as well as the original implementationEvilSeph2012-04-21-30/+84
|
* Added Packet24 for diff visibility.EvilSeph2012-04-21-0/+67
|
* Reworking clipping logic; Fixes BUKKIT-1472Wesley Wolfe2012-04-15-85/+27
|
* Made permissions.yml registration easier; Addresses BUKKIT-1499Wesley Wolfe2012-04-15-5/+5
| | | | The permissions.yml now behaves similar to a plugin.yml
* Properly call EntityDeathEvent for mobs. Fixes BUKKIT-1519feildmaster2012-04-15-3/+19
|
* Set current recipe to null when a recipe isn't found. Fixes BUKKIT-1456feildmaster2012-04-15-1/+1
|
* Filter entity spawning sanely.feildmaster2012-04-15-1/+1
|
* Use SpawnReason.DEFAULT instead of SpawnReason.CUSTOM, freeing CUSTOM to ↵feildmaster2012-04-14-1/+1
| | | | | | plugin spawning. This gets used in case we are missing appropriate SpawnReason's for various Entity spawns.
* Added SpawnReason.SLIME_SPLIT, Fixes BUKKIT-790feildmaster2012-04-14-1/+1
|
* Persist PlayerDeathEvent values. Fixes BUKKIT-1521feildmaster2012-04-14-3/+16
|
* Make the dispenser check if the dispensed item has been changed before ↵h31ix2012-04-03-2/+4
| | | | removing it. Fixes BUKKIT-316
* Implement new address to PlayerLoginEvent; Addresses BUKKIT-431Wesley Wolfe2012-04-03-2/+2
|
* Don't spawn conditional mobs if original entity is dead. Fixes BUKKIT-1444feildmaster2012-04-03-0/+1
|
* Mark entities as dead when spawning fails. Treat as canceled if entity is dead.feildmaster2012-04-03-15/+14
|