summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ItemDye.java
Commit message (Collapse)AuthorAgeLines
* Update to Minecraft 1.8Thinkofdeath2014-11-28-129/+0
| | | | For more information please see http://www.spigotmc.org/
* Refactored BlockPlaceEvent and BlockChangeDelegate. Adds BUKKIT-5558bloodshot2014-04-23-30/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 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.5Nate Mortensen2014-03-21-2/+2
|
* [Bleeding] Fix incorrect Cocoa Bean orientation. Addresses BUKKIT-5182t00thpick12013-12-17-1/+1
| | | | | | | When ItemDye is used to place a Cocoa Block, the postPlace() method should not be called, as data is handled within the ItemDye class. However, if Cocoa is placed via its block item, postPlace() should still be called to mirror vanilla behavior.
* Call BlockPlaceEvent for cocoa beans planted on log. Adds BUKKIT-5039BlackHole2013-12-08-1/+7
| | | | | | The behavior of cocoa are now aligned to be the same as other plants. Pulled from PR #1281
* Update CraftBukkit to Minecraft 1.7.2mbax2013-11-30-111/+27
|
* Restore CraftBukkit diff in ItemDye. Fixes BUKKIT-4493T00thpick12013-07-25-1/+1
| | | | Change ItemDye to pass the EntityHuman for StructureGrowEvent again.
* Update CraftBukkit to 1.6.1Nate Mortensen2013-07-01-12/+13
|
* Cleanup comments, formatting, etcTravis Watkins2013-03-25-1/+1
|
* Always consume bonemeal when used on a sapling. Fixes BUKKIT-3755Travis Watkins2013-03-16-4/+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-103/+132
|
* Update calls to DyeColor getData and getByData. Addresses BUKKIT-2786Wesley Wolfe2013-01-05-1/+1
| | | | | These two methods are now deprecated and replaced by the strictly equivalent calls using wool data.
* Update CraftBukkit to Minecraft 1.4.6feildmaster2012-12-20-2/+2
|
* Update CraftBukkit to Minecraft 1.4.4.Travis Watkins2012-11-13-9/+7
|
* Update CraftBukkit to Minecraft 1.4(.2).Travis Watkins2012-10-27-7/+7
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-23/+92
|
* Cleaned up CraftBukkit comments in NMS.Wesley Wolfe2012-07-23-3/+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 rename revision 02Erik Broes2012-03-01-3/+4
|
* Adjusted CraftBukkit to work with the entity event convenience patch in ↵TomyLobo2012-02-29-1/+2
| | | | Bukkit. Addresses BUKKIT-809
* [Bleeding] Implemented Sheep, Shear and EntityChangeBlock API. ThanksAidan Matzko2012-01-23-1/+12
| | | | tips48! Closes BUKKIT-512
* Fix formatting.Erik Broes2012-01-15-2/+2
|
* Update for 1.1_01 renames.Erik Broes2012-01-15-4/+4
| | | | | 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-5/+5
|
* Implemented onStructureGrow event, thanks to md-5.Nathan Adams2011-12-09-4/+13
|
* Added ItemDye and WorldGenHugeMushroom for diff visibilityNathan Adams2011-12-09-0/+112