summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft
Commit message (Collapse)AuthorAgeLines
...
* Add BlockTripwire and BlockTripwireHook from mc-dev for diff visibility.Travis Watkins2012-08-05-0/+436
|
* Fire EntityDeathEvent for pigs. Fixes BUKKIT-2100Travis Watkins2012-08-05-3/+8
|
* Fix Vec3DPool; don't pool objects indefinitely or O(n^2) clear()Wesley Wolfe2012-08-05-6/+10
|
* Add Vec3DPool for diff visibilityWesley Wolfe2012-08-05-0/+53
|
* Cease execution if block is AIR. Fixes BUKKIT-2104Wesley Wolfe2012-08-05-6/+1
|
* Don't use Packet56 and clear client cache on world changes.Travis Watkins2012-08-05-1/+9
|
* Fixed PlayerManager ConcurrentModificationExceptions. Fixes BUKKIT-1972Wesley Wolfe2012-08-04-3/+7
|
* Fix bounding box pool to use a dynamic cache sizeWesley Wolfe2012-08-04-6/+11
| | | | | Also changed insane array copy routine. This should reduce server lag spikes that occur periodically.
* Add AABBPool for diff visibilityWesley Wolfe2012-08-04-0/+53
|
* Don't tick chunks or entities on chunks that are queued for unload.Travis Watkins2012-08-04-3/+30
| | | | | Treat chunks in the unload queue as if they are already unloaded to prevent processing on them removing them from the unload queue and leaking.
* Avoid CME when lightning strikes by making a copy. Fixes BUKKIT-2055Travis Watkins2012-08-04-2/+4
|
* Fix chat not being cancellable when not using deprecated API.Wesley Wolfe2012-08-04-5/+9
|
* Re-implement code missing from leaving the end. Fixes BUKKIT-2003feildmaster2012-08-04-1/+22
|
* Correctly detect invalid PistonExtension's to allow removal of ↵feildmaster2012-08-04-2/+2
| | | | StickyPistons. Fixes BUKKIT-2059
* Potentially fix chunk leaking, needs further examinationfeildmaster2012-08-04-1/+1
|
* Fix PlayerBucketEmptyEvent handling. Fixes BUKKIT-2002 and fixes BUKKIT-1997Steve Anton2012-08-03-11/+9
| | | | | | | | | | | | | | | | | The method this.a(world, d0, d1, d2, i, j, k) is responsible for actually placing the lava or water source block in the world. The event is currently called after this method, thus canceling the event will cause the player to keep their water/lava bucket but the water/lava will still appear where they attempted to place it. In addition, the check for whether a player has creative inventory is short circuiting before the event fires, so the event will not be called for these players. This moves the event call and cancelled check above these two calls to ensure it always fires and the results of it are honored. Closes GH-835.
* Implement new AsyncPlayerChatEvent. Addresses BUKKIT-2064Wesley Wolfe2012-08-03-14/+49
| | | | | | | | | | | | | | | | | | | | | 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.
* Don't merge items with enchantments. Fixes BUKKIT-2050Travis Watkins2012-08-03-0/+4
|
* Fix 1.3 changes that prevent nether and the_end to save level data.feildmaster2012-08-03-1/+1
|
* [Bleeding] Fire inventory close event. Fixes BUKKIT-2036md_52012-08-03-0/+8
|
* Process entity ticks on worlds without players. Fixes BUKKIT-2031Mike Primm2012-08-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Both the CB 1.3.1 code, and vanilla 1.3.1 code, have modified the behavior of entity tick processing in a way that can lead to disabling of entity cleanup. Specifically, the tickEntities() call in n.m.s.World, which processes both the entity cleanup (removing from the world entity list) and tile entity tick processing (furnaces and such) does not get called by n.m.s.MinecraftServer's q() method (which drives tick processing calls in general) when no players are on the given world. This causes a serious memory leak when automation processes, like dynmap mapping, load and unload chunks - as entities on unloaded chunks are only cleaned up during entity tick processing. It also will cause issues with any mods that use persistent chunk loading (that is, keeping chunks loaded so that tile entities will continue being processed), since such processing will no longer function without at least one player on the given world. In any case, the tickEntities() call should be called in the same fashion as under 1.2.x (each tick, independent of player population, as opposed to being suspended indefinitely when no players are on the given world). The specific memory leak observed, with removing the unloaded entites from the world, requires this call be made regularly (or, at least, whenever the entity unload queue (world.g) is not empty. Closes GH-832
* Print short message on exception to avoid spamming console. Fixes BUKKIT-2018Travis Watkins2012-08-03-1/+1
|
* Restore configurable connection throttle.Travis Watkins2012-08-03-2/+13
|
* Add DedicatedServerConnectionThread from mc-dev for diff visibility.Travis Watkins2012-08-03-0/+119
|
* Fixed translation issue breaking custom world generation. Fixes BUKKIT-1975EvilSeph2012-08-02-1/+1
|
* Fix dispenser event handlingTravis Watkins2012-08-02-31/+59
|
* Fix Nether and The End having the same world names.feildmaster2012-08-02-1/+1
|
* Add missing callWorldInitEvent on startup.feildmaster2012-08-02-0/+2
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-8942/+10428
|
* Detect and disconnect 1.3 clients properly. Fixes BUKKIT-1952Wesley Wolfe2012-07-26-1/+24
|
* Cleaned up CraftBukkit comments in NMS.Wesley Wolfe2012-07-23-751/+491
| | | | | | | | | | | | | Added newlines at the end of files Fixed improper line endings on some files Matched start - end comments Added some missing comments for diffs Fixed syntax on some spots Minimized some diff Removed some no longer used files Added comment on some required files with no changes Fixed imports of items used once Added imports for items used more than once
* Add remaining missing setLastDamageCause'sSteve Anton2012-07-14-3/+6
|
* Add missing setLastDamageCause. Thanks MonsieurApplefeildmaster2012-07-13-1/+1
|
* Reuse ItemInWorldManager, and stop applying ability changes. Fixes BUKKIT-1811feildmaster2012-07-09-4/+1
|
* [Bleeding] Include chunk biome data for refresh chunk. Fixes BUKKIT-1166Mike Primm2012-07-08-1/+1
|
* Apply setLastDamageCause after processing events and the event has not been ↵feildmaster2012-07-02-0/+14
| | | | | | | | 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.
* Fix client crash on InventoryClick cancel. Fixes BUKKIT-1841H31IX2012-06-28-2/+0
|
* Mark entities as invalid when they get despawned. Addresses BUKKIT-810Travis Watkins2012-06-28-0/+3
|
* Fix double overflow/underflow calculations with explosions. Fixes BUKKIT-1865Wesley Wolfe2012-06-27-9/+18
|
* Use LinkedHashSet to make redstone update order consistent. Fixes BUKKIT-1850Travis Watkins2012-06-23-1/+1
|
* Trigger EntityBlockChangeEvent for Silverfish. Adds BUKKIT-1560 and BUKKIT-1593feildmaster2012-06-23-0/+12
|
* Added EntitySilverfish for diff visibilityfeildmaster2012-06-23-0/+154
|
* Fire PlayerItemBreakEvent. Addresses BUKKIT-1600Travis Ralston2012-06-21-0/+6
|
* Add query-plugins setting. Addresses BUKKIT-1781H31IX2012-06-20-1/+1
|
* Fix HeisenplayersWesley Wolfe2012-06-17-2/+2
|
* Preserve whitelist ordering. Addresses BUKKIT-1805Jeff Wardian2012-06-14-1/+3
|
* Fire NotePlayEvent. Fixes BUKKIT-1779obnoxint2012-06-14-1/+8
|
* Add TileEntityNote from mc-dev for diff visibility.obnoxint2012-06-14-0/+56
|
* Implement asynchronous pre-login event; Addresses BUKKIT-1213Wesley Wolfe2012-06-13-0/+7
|
* Support asynchronous events; Addresses BUKKIT-1212Wesley Wolfe2012-06-13-3/+5
|