summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/Explosion.java
Commit message (Collapse)AuthorAgeLines
* Rework skull dropping. Fixes BUKKIT-2930 and BUKKIT-2820Travis Watkins2012-11-14-8/+3
| | | | | | | | | 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.
* Update CraftBukkit to Minecraft 1.4.4.Travis Watkins2012-11-13-2/+6
|
* Get skull data before destroying block. Fixes BUKKIT-2723Travis Watkins2012-10-29-2/+8
| | | | | | | | | 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.
* Update CraftBukkit to Minecraft 1.4(.2).Travis Watkins2012-10-27-81/+93
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-103/+112
|
* Cleaned up CraftBukkit comments in NMS.Wesley Wolfe2012-07-23-4/+3
| | | | | | | | | | | | | 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
* Add remaining missing setLastDamageCause'sSteve Anton2012-07-14-3/+2
|
* Apply setLastDamageCause after processing events and the event has not been ↵feildmaster2012-07-02-0/+1
| | | | | | | | canceled. Fixes BUKKIT-1881 This allows previous causes to be available during the event, as well as making the damage cause a valid one. If EntityDamageEvent is canceled, then it's not the last DamageCause. Also prevents setting DamageCause involuntarily through construction.
* Fix double overflow/underflow calculations with explosions. Fixes BUKKIT-1865Wesley Wolfe2012-06-27-9/+18
|
* Reverting the Drop API for now, we need to re-evalute this as it is causing ↵Warren Loo2012-03-27-3/+2
| | | | | | | | | | | | | | | | | | 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-2/+3
|
* [Bleeding] Make zero (or very small) explosions do no damage. Fixes BUKKIT-931Mike Primm2012-03-10-1/+6
|
* Updated CraftBukkit to 1.2Nathan Adams2012-03-01-2/+2
|
* 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.
* Don't allow explosions at the top of the world to wrap around. This fixes ↵Nathan Adams2012-01-15-1/+1
| | | | BUKKIT-232, thanks to wilsonsd for the PR.
* Update to mc-dev rename revision 01Nathan Adams2012-01-12-2/+2
|
* Teach EnderDragon how to throw EntityExplosionEvents when it breaks blocksAndrew Ardill2011-12-08-1/+1
| | | | | | | | | | | | We also teach CraftWorld how to explode an event, taken from Explosion.a(boolean) (the code that breaks blocks and drops them on the ground). The EnderDragon has a flag that slows it down when it hits unbreakable blocks: Obsidian, White Stone or Bedrock. It might be useful to extend the event so that plugins can set this. Letting the API set the default yield for an explosion event has been deprecated, so we now set the default yield using the appropriate constructor.
* Clean-up some events to maintain general styleAndrew Ardill2011-12-05-3/+3
|
* Register damage caused by PrimedTNT entities as BLOCK_EXPLOSIONAndrew Ardill2011-12-02-1/+9
| | | | This fixes BUKKIT-74
* Update for 1.0.0Erik Broes2011-11-20-24/+31
|
* Fixed Explosion cast errorNathan Adams2011-10-11-2/+1
|
* Changing the blockList on explosions now correctly updates which blocks are ↵Nathan Adams2011-10-11-0/+9
| | | | changed
* Rename revision 2Dinnerbone2011-09-15-2/+2
|
* Update for Minecraft 1.8Dinnerbone2011-09-15-3/+4
|
* Update for 1.7.3Dinnerbone2011-07-08-1/+1
|
* 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-23/+13
| | | | Also minimized all the nms diffs and generic cleanups all around.
* Fixed fireball explosions not producing fire.EvilSeph2011-06-10-1/+2
|
* 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-72/+72
|
* Updated for the cleanups done in BukkitErik Broes2011-03-26-2/+1
|
* Generic code cleanupErik Broes2011-02-23-9/+12
|
* Update to Minecraft 1.3 betaDinnerbone2011-02-23-7/+7
|
* Minor cleaning of codeErik Broes2011-02-20-4/+3
|
* fixed buttons, platesTahg2011-02-19-1/+1
| | | | | added yield to explosion added event for chunk unloading
* added method to force an inventory updateTahg2011-02-08-1/+1
|
* fixed explosionsTahg2011-02-08-0/+3
|
* Adding Craftbukkit comment-tags.culturespy2011-02-08-0/+2
|
* Make Explosion remember whether it was canceled so that WorldServer can ↵culturespy2011-02-08-0/+2
| | | | avoid sending unneeded explode packets.
* Port to new mc-dev format.Erik Broes2011-01-30-160/+160
|
* Fix NPE from location incorrectly being implemented in Explosion.speakeasy2011-01-22-6/+2
|
* Explosion remembers its Location.Adam Tanner2011-01-22-1/+9
|
* fixes some explosion events to stop accessing null entities. Andrew Ardill2011-01-20-80/+64
| | | | Placed some tags against some spammy events.
* Fixing some entity damage eventsAndrew Ardill2011-01-18-13/+21
|
* EntityExplodeEvent commit for craftbukkit.speakeasy2011-01-18-32/+63
|
* Implementation of the EntityDamage*Events.Andrew Ardill2011-01-16-3/+2
| | | | | | | | | | | | | Many files were added to enable the correct hooking of these events, and a new event EntityDamageByProjectileEvent. EntityDamageByProjectileEvent adds the ability to get the projectile entity (such as an egg) and also set if the projectile 'bounces'. Only two projectiles currently respond to bouncing, Arrow and Fish - were if the fish bounces it means the fish is not hooked. Bouncing is independent of any damage caused via the event. In addition, the changes to EntityDamageEvent that enable setting post-event damage were implemented in all hooks. Finally, a bug in CraftArrow was fixed, where the constructor was not declared public.
* All entity stuff in org.bukkit.craftbukkit moved to ↵Dinnerbone2011-01-15-3/+3
| | | | org.bukkit.craftbukkit.entity
* Events should be present tense, not paste tense.Erik Broes2011-01-15-5/+5
|
* Update to Minecraft Server 1.2Dinnerbone2011-01-14-4/+3
|
* Updated against new mc-dev format, takes out quite some casting troubles at ↵Erik Broes2011-01-11-29/+26
| | | | the cost of extra ()'s