summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/WorldGenTrees.java
Commit message (Collapse)AuthorAgeLines
* Refactored BlockPlaceEvent and BlockChangeDelegate. Adds BUKKIT-5558bloodshot2014-04-23-190/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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.2mbax2013-11-30-65/+66
|
* Cleanup comments, formatting, etcTravis Watkins2013-03-25-1/+1
|
* Update CraftBukkit to Minecraft 1.5Travis Watkins2013-03-15-2/+6
|
* Update CraftBukkit to Minecraft 1.4.4.Travis Watkins2012-11-13-1/+1
|
* Update CraftBukkit to Minecraft 1.4(.2).Travis Watkins2012-10-27-2/+2
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-5/+12
|
* Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.Nathan Adams2012-03-22-8/+8
|
* [Bleeding] Prevent update inconsistencies on generation/decoration that span ↵Mike Primm2012-03-22-3/+3
| | | | chunks. Fixes BUKKIT-871
* [Bleeding] Added support for all TreeType entries to ↵zml20082012-03-21-2/+2
| | | | CraftWorld.generateTree(). Addresses BUKKIT-1161
* [Bleeding] Completely fix the tree generation algorithm to make it near ↵md_52012-03-20-1/+1
| | | | identical to vanilla as well as fix potential bugs associated with disappearing saplings.
* Fixed leaf decay issue - this fixes BUKKIT-948 and BUKKIT-871Nathan Adams2012-03-03-6/+6
|
* Fixed cast issues when passing delegates to world generators, and ↵Nathan Adams2012-03-01-11/+12
| | | | | | WorldGenMegaTree method exception. This fixes BUKKIT-866, and references BUKKIT-868. Also bumped version to 1.2.2-R0.1-SNAPSHOT to match Bukkit.
* Updated CraftBukkit to 1.2Nathan Adams2012-03-01-24/+101
|
* [Bleeding] Undo changes to the tree WorldGenerators.Zeerix2012-02-23-46/+7
| | | | | - All StructureGrowEvent handling for these is in BlockSapling now, using a BlockChangeDelegate to collect the data. - Moved StructureGrowDelegate into a separate class
* Update for 1.1_01 renames.Erik Broes2012-01-15-2/+2
| | | | | 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.
* Fix CraftBukkit comments.Erik Broes2012-01-12-10/+10
|
* Fixed bonemeal not being consumed on failed growth attempts. This fixes ↵Nathan Adams2011-12-19-3/+0
| | | | BUKKIT-337. Thanks to md-5 for the pull request!
* Implemented onStructureGrow event, thanks to md-5.Nathan Adams2011-12-09-7/+49
|
* Update for 1.0.0Erik Broes2011-11-20-61/+51
|
* Update for Minecraft 1.8Dinnerbone2011-09-15-48/+60
|
* Massive renaming update in nms. If you bypassed Bukkit, you will likely break.Erik Broes2011-06-27-1/+1
| | | | Also minimized all the nms diffs and generic cleanups all around.
* Whitespace + general cleanupErik Broes2011-05-15-2/+1
|
* Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break.Erik Broes2011-04-20-3/+3
|
* Generic code cleanupErik Broes2011-02-23-3/+2
|
* Update to Minecraft 1.3 betaDinnerbone2011-02-23-100/+100
|
* Added support for different tree generation types and a callback.sk89q2011-01-30-0/+100