summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/BlockSapling.java
Commit message (Collapse)AuthorAgeLines
* Update to Minecraft 1.8Thinkofdeath2014-11-28-203/+0
| | | | For more information please see http://www.spigotmc.org/
* Update CraftBukkit to Minecraft 1.7.10Travis Watkins2014-07-08-1/+1
|
* Fix ItemStack state during BlockPlaceEvent. Fixes BUKKIT-5632Nate Mortensen2014-05-26-2/+1
|
* [Bleeding] Correct issues with MEGA_REDWOOD trees. Fixes BUKKIT-5568GJ2014-04-28-1/+1
| | | | | | In commit 6efeddfe57, TALL_REDWOOD was used instead of the proper TreeType of MEGA_REDWOOD. Additionally, this fixes an issue in CraftWorld with an improper boolean flag related to the generation of MEGA_REDWOOD trees.
* Refactored BlockPlaceEvent and BlockChangeDelegate. Adds BUKKIT-5558bloodshot2014-04-23-50/+39
| | | | | | | | | | | | | | | | | | | | | | | | | 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-49/+111
|
* Update CraftBukkit to 1.6.1Nate Mortensen2013-07-01-1/+0
|
* Cleanup comments, formatting, etcTravis Watkins2013-03-25-4/+5
|
* Always consume bonemeal when used on a sapling. Fixes BUKKIT-3755Travis Watkins2013-03-16-0/+4
| | | | | | | | In Minecraft 1.5 saplings do not grow with a single use of bonemeal anymore. Our code assumes they will and only takes away bonemeal from the player when the tree grows successfully (not cancelled by a plugin). Instead we now always remove a bonemeal even if a plugin is the reason a tree didn't grow as this matches the vanilla logic more closely.
* Update CraftBukkit to Minecraft 1.5Travis Watkins2013-03-15-25/+27
|
* Update CraftBukkit to Minecraft 1.4(.2).Travis Watkins2012-10-27-3/+3
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-5/+9
|
* Cleaned up CraftBukkit comments in NMS.Wesley Wolfe2012-07-23-8/+5
| | | | | | | | | | | | | 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-1/+5
|
* [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-29/+43
| | | | identical to vanilla as well as fix potential bugs associated with disappearing saplings.
* Allow the new jungle tree type to be grown both as a single sapling and as a ↵md_52012-03-02-4/+38
| | | | group of 4. Fixes BUKKIT-886
* Updated CraftBukkit to 1.2Nathan Adams2012-03-01-1/+1
|
* [Bleeding] Undo changes to the tree WorldGenerators.Zeerix2012-02-23-47/+30
| | | | | - 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-4/+3
| | | | | 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-2/+2
|
* Fixed bonemeal not being consumed on failed growth attempts. This fixes ↵Nathan Adams2011-12-19-0/+4
| | | | BUKKIT-337. Thanks to md-5 for the pull request!
* Implemented onStructureGrow event, thanks to md-5.Nathan Adams2011-12-09-12/+29
|
* Updated to use mc-dev rename revision 1Nathan Adams2011-11-30-1/+1
|
* Update for 1.0.0Erik Broes2011-11-20-6/+7
|
* Blocked access to ColouredConsoleSenders constructor, implemented ↵Dinnerbone2011-09-24-0/+4
| | | | getConsoleSender
* Update to Minecraft 1.7Dinnerbone2011-06-30-1/+1
|
* Massive renaming update in nms. If you bypassed Bukkit, you will likely break.Erik Broes2011-06-27-3/+3
| | | | Also minimized all the nms diffs and generic cleanups all around.
* Implemented 1.6!Dinnerbone2011-05-26-8/+10
|
* Fixed trees being invisible under certain circumstances. Thanks Zeerix!EvilSeph2011-05-15-0/+84