summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityHuman.java
Commit message (Collapse)AuthorAgeLines
* Update to Minecraft 1.8Thinkofdeath2014-11-28-1599/+0
| | | | For more information please see http://www.spigotmc.org/
* Fix cancelling PlayerDropItemEvent. Fixes BUKKIT-3313ase342014-08-04-1/+13
| | | | | | | | | | | | Up until this commit the PlayerDropItemEvent, if cancelled, would return items to the first available slot in the inventory - which is clearly undesirable as a player and plugin author to deal with. This commit changes that by ensuring that the item is returned to where it came from in the player's inventory. This still supports modifying the drop from the player and will default to "first available slot" if the item has changed since the event was fired. Other remaining behaviour of the event is still in tact and has not been modified.
* Update CraftBukkit to Minecraft 1.7.10Travis Watkins2014-07-08-67/+67
|
* [Bleeding] Implement new damage api. Fixes BUKKIT-5326, BUKKIT-3878.t00thpick12014-06-22-1/+7
| | | | | | | | | | | | | | This commit centralizes event handling to where damage is actually applied to the entity to avoid bugs that have resulted from nodamageticks, modifications to damage after the event has been called, and similar mishaps. This also implements new API for getting and setting of modifications made to the damage amount actually applied to the entity. This is done by storing the change in the damage amount as each modifier is applied by vanilla code. The method that actually damages the armor worn by an entity has been relocated beneath the event called as to not apply durability loss when the event has been cancelled.
* [Bleeding] Add many missing event calls.GJ2014-04-18-2/+9
|
* Fix missed diff and other small thingsTravis Watkins2014-04-13-3/+3
|
* Update CraftBukkit to Minecraft 1.7.8Travis Watkins2014-04-11-1/+1
|
* Correct missed diffTravis Watkins2014-03-24-1/+1
|
* Update CraftBukkit to Minecraft 1.7.5Nate Mortensen2014-03-21-125/+125
|
* Update CraftBukkit to Minecraft 1.7.2mbax2013-11-30-206/+256
|
* Update CraftBukkit to 1.6.4feildmaster2013-09-19-47/+47
|
* Correctly fire VehicleExitEvent. Fixes BUKKIT-3761Nate Mortensen2013-07-13-0/+10
| | | | | | | | | | | | This change makes it so that EntityHuman#setPassengerOf(Entity) invokes its parent method when leaving vehicles so that VehicleExitEvent is fired for players leaving vehicles. This change also fixes BUKKIT-2110, making it so VehicleExitEvent correctly handles cancellation. The implementation of VehicleExitEvent completely ignored the cancellation state of the event, making it so that cancelling the event had no effect. Cancelling a VehicleExitEvent now causes the entity to remain inside of the vehicle, with no visual stutter.
* Update CraftBukkit to 1.6.2mbax2013-07-08-86/+50
|
* Rework max health values. Fixes BUKKIT-4398Wesley Wolfe2013-07-02-3/+2
|
* Update CraftBukkit to 1.6.1Nate Mortensen2013-07-01-239/+270
|
* Update CraftBukkit to Minecraft 1.5.2Travis Watkins2013-04-27-24/+24
|
* Change perspective of team checking. Fixes BUKKIT-4044Wesley Wolfe2013-04-11-9/+10
| | | | | | The method's return value was being incorrectly calculated from the perspective of this.canHurt(that), where it's actually used from the this.canBeHurtBy(that) perspective.
* Implement Scoreboard API. Adds BUKKIT-3776mbax2013-04-04-7/+27
| | | | | | | | | | | | | | | | | | This implementation facilitates the correspondence of the Bukkit Scoreboard API to the internal minecraft implementation. When the first scoreboard is loaded, the scoreboard manager will be created. It uses the newly added WeakCollection for handling plugin scoreboard references to update the respective objectives. When a scoreboard contains no more active references, it should be garbage collected. An active reference can be held by a still registered objective, team, and transitively a score for a still registered objective. An internal reference will also be kept if a player's specific scoreboard has been set, and will remain persistent until that player logs out. A player's specific scoreboard becomes the scoreboard used when determining team structure for the player's attacking damage and the player's vision.
* Cleanup comments, formatting, etcTravis Watkins2013-03-25-2/+2
|
* Update CraftBukkit to Minecraft 1.5.1Travis Watkins2013-03-20-7/+7
|
* Update CraftBukkit to Minecraft 1.5Travis Watkins2013-03-15-162/+218
|
* Implement PlayerItemConsumeEvent. Adds BUKKIT-2349Travis Watkins2013-03-02-0/+28
|
* [Bleeding] Add experimental support for entity portal travelingEdGruberman2013-01-19-3/+4
|
* Implement entity max health methods. Adds BUKKIT-266feildmaster2012-12-23-2/+3
|
* Update CraftBukkit to Minecraft 1.4.6feildmaster2012-12-20-77/+91
|
* [Bleeding] Fix NPE with a null bedSpawnLocation. Fixes BUKKIT-1500EdGruberman2012-12-10-0/+1
|
* Remove fire ticks if damage has been canceled. Fixes BUKKIT-2933feildmaster2012-11-15-0/+3
|
* Update CraftBukkit to Minecraft 1.4.4.Travis Watkins2012-11-13-178/+226
|
* Update CraftBukkit to Minecraft 1.4(.2).Travis Watkins2012-10-27-239/+305
|
* Update to 1.3.2Travis Watkins2012-08-25-2/+2
|
* Fix "moved too quickly" detection.Travis Watkins2012-08-05-8/+0
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-275/+319
|
* 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
* Made item use when a player has the ability to instantly build not decrement ↵EvilSeph2012-04-02-2/+3
| | | | the stack. Fixes BUKKIT-1439
* [Bleeding] Stop filtering out 0 damage for Humans. Fixes BUKKIT-1348feildmaster2012-03-26-4/+4
|
* Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.Nathan Adams2012-03-22-33/+35
|
* Fixed EntityDamageByEntityEvent to call for every attackable entity. Fixes ↵feildmaster2012-03-15-43/+1
| | | | BUKKIT-1129, Fixes BUKKIT-1054 and Fixes BUKKIT-147.
* [Bleeding] Added new target events. Fixes BUKKIT-935feildmaster2012-03-10-16/+0
|
* Updated CraftBukkit to 1.2Nathan Adams2012-03-01-143/+154
|
* Updated to rename revision 02Erik Broes2012-03-01-30/+28
|
* [Bleeding] Implementation of inventory framework. Addresses BUKKIT-856Celtic Minstrel2012-02-29-1/+9
| | | | | | | | | | | | See the corresponding Bukkit commit for details. Implementation details: - Any packets that include an itemstack will send air stacks as null; maybe this will even eliminate the client crash that occurs if the client receives an air stack - Better handling of null itemstacks in general (ie less converting them to air stacks) - Inventory.setContents() can now take an array smaller than the inventory without error - Player.updateInventory() should now correctly update the result slot in a crafting inventory Some small credit goes to Afforess (initial implementation of openInventory() methods) and Drakia (initial implementation of InventoryOpenEvent and InventoryCloseEvent).
* Made damaging EntityEnderCrystals fire EntityDamageByEntity. Fixes BUKKIT-724EvilSeph2012-02-09-1/+1
|
* [Bleeding] Handle EntityHuman attack a bit more properly.Feildmaster2012-02-09-1/+1
|
* Throw PlayerLevelChangeEvent and PlayerExpChangeEvent events. Thanks to ↵Nathan Adams2012-01-19-0/+1
| | | | feildmaster for the PR.
* Fix formatting.Erik Broes2012-01-15-1/+1
|
* Update for 1.1_01 renames.Erik Broes2012-01-15-23/+23
| | | | | 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-72/+77
|
* Update to mc-dev rename revision 01Nathan Adams2012-01-12-2/+2
|
* Fix CraftBukkit comments.Erik Broes2012-01-12-1/+1
|
* Fix calling CombustEvent caused by enchantmentAndrew Ardill2012-01-09-0/+2
| | | | | | The CombustEvent created when an Entity attacks with a fire enchanted weapon was never raised through the plugin manager. Thanks for pointing it out EdGruberman!