summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/WorldServer.java
Commit message (Collapse)AuthorAgeLines
* Update to Minecraft 1.8Thinkofdeath2014-11-28-1006/+0
| | | | For more information please see http://www.spigotmc.org/
* Update CraftBukkit to Minecraft 1.7.10Travis Watkins2014-07-08-21/+21
|
* Refactored BlockPlaceEvent and BlockChangeDelegate. Adds BUKKIT-5558bloodshot2014-04-23-19/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 23 classes have been removed as they are no longer needed using the new capture logic. This should help quite a bit with future MC updates. BlockPlaceEvent Refactor Before calling Item.interactWith, a recording flag is turned on for setTypeAndData to capture a blockstate for each block that attempts to be set. When a block place event is cancelled, the recorded blockstate, stack size, and metadata will revert back to the captured state. If the event is not cancelled, a notification will be sent to clients and block physics will be updated. BlockChangeDelegate Refactor Now that we have the ability to capture blockstates through world, there is no need to modify world gen classes with BlockChangeDelegate. Instead we will simply capture blocks during world generation in order to "replay" all of the captured blockstates to send back to delegates. StructureGrowDelegate and BlockSapling.TreeGenerator have also been removed as part of this change. BlockSapling and BlockMushroom will capture blockstates the same as block placement and revert back any grow events if needed.
* Update CraftBukkit to Minecraft 1.7.8Travis Watkins2014-04-11-6/+7
|
* Fix issues with leashes and weather due to missed diffTravis Watkins2014-03-26-1/+1
|
* Update CraftBukkit to Minecraft 1.7.5Nate Mortensen2014-03-21-12/+27
|
* Update CraftBukkit to Minecraft 1.7.2mbax2013-11-30-168/+205
|
* Remove redundant call to worldMaps.a(). Addresses BUKKIT-4828Nate Mortensen2013-10-19-1/+5
| | | | | | | | | The WorldMapCollection object for SecondaryWorldServers(Nether, End) is shared with the main world, so saving it again for each SecondaryWorldServer is redundant. This commit removes the redundant call by checking if the WorldServer is an instanceof SecondaryWorldServer before invoking worldMaps.a().
* Update CraftBukkit to 1.6.4feildmaster2013-09-19-3/+3
|
* Update CraftBukkit to 1.6.2mbax2013-07-08-17/+3
|
* Update CraftBukkit to 1.6.1Nate Mortensen2013-07-01-48/+57
|
* Update CraftBukkit to Minecraft 1.5.2Travis Watkins2013-04-27-17/+23
|
* Fetch tile entities from chunks instead of world. Fixes BUKKIT-4055Travis Watkins2013-04-13-7/+14
| | | | | | | | | | | | | When looking up tile entities for a chunk to send to a player we currently loop through every tile entity in the world checking if it is within the bounds of the relevant chunk. Instead of doing this we can just use the tile entities list stored in the chunk to avoid this costly searching. As a further optimization, we also modify the generic range-based lookup to use chunks as well. For most lookups this will give a smaller search pool which will result in faster lookups. Thanks to @mikeprimm for the idea and most of the implementation.
* Set world on fixed tile entity to avoid NPE. Addresses BUKKIT-3949Travis Watkins2013-04-01-0/+1
|
* Fix mismatched tile entities for new blocks. Fixes BUKKIT-3949Travis Watkins2013-03-31-0/+16
|
* Cleanup comments, formatting, etcTravis Watkins2013-03-25-4/+4
|
* Implement per-player Weather API. Adds BUKKIT-812T00thpick12013-03-18-1/+2
|
* Comment out vanilla debug message.Travis Watkins2013-03-16-0/+2
|
* Update CraftBukkit to Minecraft 1.5Travis Watkins2013-03-15-66/+117
|
* [Bleeding] Add experimental support for entity portal travelingEdGruberman2013-01-19-1/+1
|
* [Bleeding] Implement periodic chunk garbage collectorMike Primm2012-12-29-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | This adds two settings to bukkit.yml, allowing activation and control of two chunk garbage collection triggering conditions: chunk-gc/period-in-ticks controls a periodic GC, run once every N ticks (default is 600); chunk-gc/load-threshold causes the GC to run once after every N calls to loadChunk() on a given world (this call is an API call used by plugins, and is distinct from the path taken for routine player movement-based loading). In both cases, setting to zero will disable the given GC scheduling strategy. In either case, the act of doing the GC is simply one of scanning the loaded chunks, seeing which are NOT being used by one or more players (due to view-distance) and which are not already queued for unload, and queueing them for a normal unload. Ultimately, the unload is then processed the same as if the chunk were unloaded due to leaving the view-distance range of all players, so the impact on plugins should be no different (and strategies such as handling the ChunkUnloadEvent in order to prevent unload will still work). The initial interval for the periodic GC is randomized on a per-world basis, in order to avoid all world being GCed at the same time - minimizing potential lag spikes.
* Update CraftBukkit to Minecraft 1.4.6feildmaster2012-12-20-52/+52
|
* Update CraftBukkit to Minecraft 1.4.4.Travis Watkins2012-11-13-45/+61
|
* Expose API for managing and using GameRules. Adds BUKKIT-2757feildmaster2012-10-31-2/+3
|
* Update CraftBukkit to Minecraft 1.4(.2).Travis Watkins2012-10-27-122/+118
|
* [Bleeding] Avoid spawn checks on empty worlds. Fixes BUKKIT-2508Mike Primm2012-09-12-1/+1
| | | | | Change a server wide check for players to be world specific. Worlds without players will not spawn entities.
* Bulk pending cleanup.Wesley Wolfe2012-09-09-13/+13
|
* Update to 1.3.2Travis Watkins2012-08-25-16/+29
|
* Fix "block update packet" not being sent to the correct world. Fixes BUKKIT-2023feildmaster2012-08-12-1/+2
|
* Fixed translation issue breaking custom world generation. Fixes BUKKIT-1975EvilSeph2012-08-02-1/+1
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-43/+642
|
* Cleaned up CraftBukkit comments in NMS.Wesley Wolfe2012-07-23-14/+7
| | | | | | | | | | | | | 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
* Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.Nathan Adams2012-03-22-2/+2
|
* Updated CraftBukkit to 1.2Nathan Adams2012-03-01-8/+4
|
* Updated to rename revision 02Erik Broes2012-03-01-2/+2
|
* Fix formatting.Erik Broes2012-01-15-1/+1
|
* Update for 1.1_01 renames.Erik Broes2012-01-15-12/+12
| | | | | We know these updates (can) break plugins bypassing Bukkit. They are needed for smooth updates however. There will be another one right before before 1.1-R1.
* Updated to Minecraft 1.1Erik Broes2012-01-12-2/+5
|
* Implemented 1.0.1 fixes. This fixes BUKKIT-3, BUKKIT-39, BUKKIT-150Nathan Adams2011-12-01-1/+12
|
* Updated to use mc-dev rename revision 1Nathan Adams2011-11-30-4/+4
|
* Update for 1.0.0Erik Broes2011-11-20-8/+22
|
* Exempted moving pistons from the tile entity fix.EvilSeph2011-10-03-4/+0
|
* Attempt to fix any damage caused by misplaced tile entitiesDinnerbone2011-10-03-0/+56
|
* Blocked access to ColouredConsoleSenders constructor, implemented ↵Dinnerbone2011-09-24-0/+4
| | | | getConsoleSender
* Update to mcdev rename revision 01 for 1.8.1Dinnerbone2011-09-24-1/+1
|
* Update for Minecraft 1.8Dinnerbone2011-09-15-17/+17
|
* Revert "Implements interface for changing the view distance."EvilSeph2011-08-15-53/+1
|
* Implements interface for changing the view distance.Andrew Ardill2011-08-15-1/+53
| | | | | | | | | | | | | | Uses default view distance if player's view distance is not set Throws an illegal argument exception if view distance is set too high or too low. Pushes notifications of server and world view distance changes to the player. Move view distance functions from PlayerManger to WorldServer. Set player minimum view distance to 1 for now. Reset player's 'last known' position when recalculating visible chunks. Use per-player view distance in chunk distance checks
* Massive renaming update in nms. If you bypassed Bukkit, you will likely break.Erik Broes2011-06-27-25/+20
| | | | Also minimized all the nms diffs and generic cleanups all around.
* Moved spawn-protection from server.properties into (settings.)spawn-radius ↵Dinnerbone2011-06-17-1/+1
| | | | in bukkit.yml