summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ItemHoe.java
Commit message (Collapse)AuthorAgeLines
* Refactored BlockPlaceEvent and BlockChangeDelegate. Adds BUKKIT-5558bloodshot2014-04-23-46/+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-11/+8
|
* Update CraftBukkit to 1.6.1Nate Mortensen2013-07-01-3/+3
|
* Update CraftBukkit to Minecraft 1.5Travis Watkins2013-03-15-1/+1
|
* Direct all BlockPlaceEvents to a singular location. Fixes BUKKIT-3438feildmaster2013-01-27-10/+3
| | | | | | | | | | By having a single function to process BlockPlacement logic, we make it so that there is consistent behavior throughout all BlockPlace events. This should allow for easier troubleshooting and less diffs in source. This also fixes BUKKIT-3463 by including the correct coordinates that were clicked to the event.
* 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-2/+10
|
* Cleaned up CraftBukkit comments in NMS.Wesley Wolfe2012-07-23-6/+2
| | | | | | | | | | | | | 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-1/+1
|
* [Bleeding] Use player.getItemInHand(), instead of a new ItemStack. Addresses ↵Feildmaster2012-02-23-1/+1
| | | | BUKKIT-767
* Update for 1.1_01 renames.Erik Broes2012-01-15-1/+1
| | | | | 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.
* Update for 1.0.0Erik Broes2011-11-20-2/+2
|
* Update for Minecraft 1.8Dinnerbone2011-09-15-19/+23
|
* Massive renaming update in nms. If you bypassed Bukkit, you will likely break.Erik Broes2011-06-27-2/+1
| | | | Also minimized all the nms diffs and generic cleanups all around.
* Implemented 1.6!Dinnerbone2011-05-26-17/+2
|
* Whitespace + general cleanupErik Broes2011-05-15-0/+1
|
* Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break.Erik Broes2011-04-20-8/+8
|
* Updated to Minecraft version 1.4Dinnerbone2011-03-31-2/+2
|
* Fix BlockPlaceErik Broes2011-03-21-21/+10
|
* More PLAYER_ITEM blockFace fixes of static fails; (1!=l) -- Thanks Scient ↵Erik Broes2011-02-25-1/+1
| | | | for pointing it out
* Update to Minecraft 1.3 betaDinnerbone2011-02-23-3/+3
|
* Port to new mc-dev format.Erik Broes2011-01-30-45/+45
|
* removed all instances of new CraftEntity* where appropriate.Andrew Ardill2011-01-23-9/+19
| | | | Entity.getBukkitEntity() is now used instead.
* Moved org.bukkit.craftbukkit.Block to org.bukkit.craftbukkit.block.BlockDinnerbone2011-01-15-1/+1
|
* All inventory stuff in org.bukkit.craftbukkit moved to ↵Dinnerbone2011-01-15-1/+1
| | | | org.bukkit.craftbukkit.inventory
* All entity stuff in org.bukkit.craftbukkit moved to ↵Dinnerbone2011-01-15-1/+1
| | | | org.bukkit.craftbukkit.entity
* Update to Minecraft Server 1.2Dinnerbone2011-01-14-7/+7
|
* Updated against new mc-dev format, takes out quite some casting troubles at ↵Erik Broes2011-01-11-9/+10
| | | | the cost of extra ()'s
* Fixed lack of calling callEvent(event), finished Item Usedurron5972011-01-08-0/+63