summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/FoodMetaData.java
Commit message (Collapse)AuthorAgeLines
* Update CraftBukkit to Minecraft 1.7.10Travis Watkins2014-07-08-3/+3
|
* Update CraftBukkit to Minecraft 1.7.5Nate Mortensen2014-03-21-1/+1
|
* Update CraftBukkit to Minecraft 1.7.2mbax2013-11-30-11/+28
|
* Update CraftBukkit to 1.6.4feildmaster2013-09-19-1/+1
|
* Add API to control scaled health. Adds BUKKIT-4590T00thpick12013-07-23-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This commit implements the ability to set the scale of hearts that the client renders. When the Packet44UpdateAttributes packet is sent, the max health attribute is replaced with a scaled version, to preserve the scaled health illusion clientside. In order to accurately display the scaled health for players, a true health is stored within CraftPlayer, and the datawatcher now stores the scaled health. The getHealth() method for players still returns their true health. Changed setHealth() within EntityLiving to appropriately handle health for instances of EntityPlayer. Inlined a call to setHealth(getMaxHealth()) within the EntityLiving constructor to work around CraftEntity instantiation. Additionally fixes the health values sent when eating food within FoodMetaData and ItemFood, which previously sent the unscaled health; this commit alters them to send the properly scaled health. Additionally fixes BUKKIT-4535, BUKKIT-4536, and BUKKIT-4127
* Update CraftBukkit to 1.6.2mbax2013-07-08-1/+1
|
* Update CraftBukkit to 1.6.1Nate Mortensen2013-07-01-5/+5
|
* Update CraftBukkit to Minecraft 1.5.2Travis Watkins2013-04-27-1/+1
|
* Refactor EntityDamageEvents. Adds BUKKIT-1944 & BUKKIT-3684feildmaster2013-04-10-9/+1
|
* Cleanup comments, formatting, etcTravis Watkins2013-03-25-1/+1
|
* Update CraftBukkit to Minecraft 1.5Travis Watkins2013-03-15-1/+1
|
* Update CraftBukkit to Minecraft 1.4.6feildmaster2012-12-20-2/+2
|
* Update CraftBukkit to Minecraft 1.4.4.Travis Watkins2012-11-13-1/+1
|
* Update CraftBukkit to Minecraft 1.4(.2).Travis Watkins2012-10-27-1/+1
|
* Update the client after a FoodLevelChange event is fired. Fixes BUKKIT-2510EvilSeph2012-09-12-0/+2
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-4/+4
|
* 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.
* Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.Nathan Adams2012-03-22-1/+1
|
* Fixed hunger not behaving correctly. Addresses BUKKIT-907EvilSeph2012-03-01-1/+1
|
* Updated CraftBukkit to 1.2Nathan Adams2012-03-01-1/+1
|
* Adjusted CraftBukkit to work with the entity event convenience patch in ↵TomyLobo2012-02-29-6/+2
| | | | Bukkit. Addresses BUKKIT-809
* Update for 1.1_01 renames.Erik Broes2012-01-15-3/+3
| | | | | 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-1/+1
|
* Updated to use mc-dev rename revision 1Nathan Adams2011-11-30-8/+8
|
* Update for 1.0.0Erik Broes2011-11-20-8/+8
|
* Update to mcdev rename revision 01 for 1.8.1Dinnerbone2011-09-24-1/+1
|
* Added RegainReason.SATIATED.EvilSeph2011-09-22-1/+2
| | | | This reason is used when a player regains health from generating due to their hunger being satisfied.
* Added FoodLevelChange event.EvilSeph2011-09-21-2/+12
|
* Added EntityDamageEvent for caused by starving.EvilSeph2011-09-21-1/+10
|
* Rename revision 2Dinnerbone2011-09-15-35/+35
|
* Implemented food methods + fixed dying resetting foodDinnerbone2011-09-15-0/+88