summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ItemInWorldManager.java
Commit message (Collapse)AuthorAgeLines
* Update CraftBukkit to Minecraft 1.4.6feildmaster2012-12-20-413/+0
|
* Update tile entity when interact event is cancelled.Travis Watkins2012-11-16-0/+5
| | | | | | | If a plugin cancels a PlayerInteractEvent when left clicking a block the client may have removed this block if they are in creative mode or if the block breaks in a single hit. In this case, we need to update the client's tile entity as well as telling it the block still exists.
* Update tile entity on client on cancelled block break. Fixes BUKKIT-2935Travis Watkins2012-11-14-0/+5
| | | | | | | | When a client tries to break a block it assumes it has done so unless told otherwise by the server. This means the client also wipes out any tile entity data it has for the block as well. We do not send this data when updating the client so clients lose things like text on signs, skull type, etc when they aren't allowed to break the block.
* Rework skull dropping. Fixes BUKKIT-2930 and BUKKIT-2820Travis Watkins2012-11-14-2/+4
| | | | | | | | | Skulls need their tile entity in order to create an item correctly when broken unlike every other block. Instead of sprinkling special cases all over the code just override dropNaturally for skulls to read from their tile entity and make sure everything that wants to drop them calls this method before removing the block. There is only one case where this wasn't already true so we end up with much less special casing.
* Correct digging behavior. Fixes BUKKIT-2780Travis Watkins2012-11-13-11/+10
| | | | | | | | | | | If a block is air we return immediately so miss the cleanup work that would normally happen in this case in vanilla. This causes us to get in to a situation where, due to odd packet sending from the client, we never properly stop an attempt by the client to break a block and thus it eventually breaks. We also use our own variable for block damage and never sync it up with the vanilla one so damage reporting to other clients is not always correct.
* Update CraftBukkit to Minecraft 1.4.4.Travis Watkins2012-11-13-4/+3
|
* Get skull data before destroying block. Fixes BUKKIT-2723Travis Watkins2012-10-29-0/+5
| | | | | | | | | Skull blocks store their type in a tile entity and use their block data as rotation. When breaking a block the block data is used for determining what item to drop. Simply changing this to use the skull method for getting their drop data is not enough because their tile entity is already gone. Therefore we have to special case skulls to get the correct data _and_ get that data before breaking the block.
* Fix missed rename for ore exp dropping. Fixes BUKKIT-2662Travis Watkins2012-10-28-1/+1
|
* Update CraftBukkit to Minecraft 1.4(.2).Travis Watkins2012-10-27-14/+20
|
* Implement BlockBreakEvent block experience. Adds BUKKIT-2033feildmaster2012-08-08-2/+26
|
* Cease execution if block is AIR. Fixes BUKKIT-2104Wesley Wolfe2012-08-05-0/+1
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-108/+152
|
* Cleaned up CraftBukkit comments in NMS.Wesley Wolfe2012-07-23-3/+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
* Reverting the Drop API for now, we need to re-evalute this as it is causing ↵Warren Loo2012-03-27-8/+22
| | | | | | | | | | | | | | | | | | too many issues and blocking releases. This reverts commits: - d2d03afc8854394aeefb40ea5ebf224c8032b19f - 6245746e91123dd8ef70e5f15b7cdfc7e36d8e8c - 41fae5c613e9e69a8f6bdf33b23bb09d7f407433 - c34bdecab42cf4098054a5ea43e1c2958d44ae92 - d7445084ac9a90fa0b66d8b050b8d0d2a062eaf3 - 6a6ed2e6ae2328a8a791bcc6857c44dc6c6a7030 - a783bc4dc95da8e26c673abe48fad96b550aba28 - cb50fd68766df8e07631ba5be85759f8257e8068 - 34dfff2ad5c407c712b2783f02960aac5e8649f2 - f33b513820de987b49a4338e85df80968217a601 - 5fd9fdfde055e6eb6a83db246d009b69377b7c94 - 2795b116f40d06551fbb7b96d1963c0ddbeac384
* Seriously fix natural drops. Fixes BUKKIT-1297 and fixes BUKKIT-1295feildmaster2012-03-23-1/+1
|
* Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.Nathan Adams2012-03-22-2/+4
|
* [Bleeding] Added getting and setting drops to all appropriate events. Fixes ↵Celtic Minstrel2012-03-21-22/+8
| | | | | | | | BUKKIT-397 and fixes BUKKIT-1252 - Allows drops in creative mode by adding items to the getDrops() list - Contents of containers are not reported - Contents of storage minecarts are not reported
* Fixed punching out fire in creative - this fixes BUKKIT-914, thanks to md-5Nathan Adams2012-03-02-1/+3
|
* Updated CraftBukkit to 1.2Nathan Adams2012-03-01-3/+3
|
* Let's be a little less tricky to the client. Relates to BUKKIT-637EvilSeph2012-01-26-2/+2
|
* Trick the client instead of modifying the world. Fixes BUKKIT-637EvilSeph2012-01-26-5/+4
|
* Immediately tell client a block is broken, then process the event.Travis Watkins2012-01-23-0/+10
| | | | | | | | In order to avoid clients seeing blocks break, reappear, then break again due to lag caused by plugins taking too long to process the BlockBreakEvent we immediately tell the client the block is air then process the event. If the event ends up being cancelled the client will get another packet telling them the block still exists.
* Update for 1.1_01 renames.Erik Broes2012-01-15-13/+15
| | | | | 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/+2
|
* Update to mc-dev rename revision 01Nathan Adams2012-01-12-3/+3
|
* Inform the client when break events are cancelled. Thanks mrapple!EvilSeph2012-01-07-0/+6
|
* Updated to use mc-dev rename revision 1Nathan Adams2011-11-30-2/+2
|
* Update for 1.0.0Erik Broes2011-11-20-3/+4
|
* data improvementsTahg2011-09-26-0/+6
|
* Fixed missing PlayerInteractEvent call in creative modesunkid2011-09-15-3/+6
|
* Rename revision 2Dinnerbone2011-09-15-8/+8
|
* Fixed Creative not having infinite items.EvilSeph2011-09-15-0/+9
|
* Update for Minecraft 1.8Dinnerbone2011-09-15-76/+126
|
* Update to Minecraft 1.7Dinnerbone2011-06-30-2/+2
|
* Massive renaming update in nms. If you bypassed Bukkit, you will likely break.Erik Broes2011-06-27-12/+9
| | | | Also minimized all the nms diffs and generic cleanups all around.
* Generic cleanupErik Broes2011-06-12-2/+3
|
* Fixed trapdoors not updating their state if a Player Interact event is ↵EvilSeph2011-06-10-0/+2
| | | | cancelled.
* Made it possible to block punching fire out through PlayerInteract event.EvilSeph2011-06-09-1/+2
|
* Added more control over block placement on interactable objects. Thanks Acru!EvilSeph2011-06-08-3/+5
| | | | | Plugins can now allow placing a block on an interactable object, by DENYing the interact and ALLOWing the place.
* Update for 1.6.5Erik Broes2011-05-30-2/+2
|
* Implemented 1.6!Dinnerbone2011-05-26-18/+20
|
* Whitespace + general cleanupErik Broes2011-05-15-3/+3
|
* Update for 1.5_02.Erik Broes2011-04-21-3/+3
|
* Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break.Erik Broes2011-04-20-49/+48
|
* Base digging/blockbreaks on actual time rather than the servers tickrate.Erik Broes2011-04-03-2/+3
| | | | | Servers under high load suffer from tick-time degradation as severe as 1 tick taking 0.25s (rather than 0.05s). This will failing blockbreaks.
* Updated to Minecraft version 1.4Dinnerbone2011-03-31-29/+26
|
* Line endings, damnit!Dinnerbone2011-03-27-1/+1
|
* Add LEFT_CLICK_BLOCK's faceErik Broes2011-03-26-2/+3
|
* Fix inability to use items under certain circumstancesErik Broes2011-03-25-6/+5
|
* Fixed unable to eat/throwErik Broes2011-03-24-0/+6
|