Paper/src/main/java/org/bukkit/craftbukkit
T00thpick1 1192f2a53a Add API to control scaled health. Adds BUKKIT-4590
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
2013-07-23 21:52:17 -05:00
..
block Update CraftBukkit to 1.6.1 2013-07-01 12:10:06 -05:00
chunkio Cleanup comments, formatting, etc 2013-03-25 00:51:36 -05:00
command Update CraftBukkit to 1.6.1 2013-07-01 12:10:06 -05:00
conversations [Bleeding] Added ConversationAbandonedEvent and supporting infrastructure. Whenever a conversation exits, the ConversationAbandonedEvent is triggered with details about how the conversation ended and what, if anything caused it to end. Fixes BUKKIT-986 2012-03-08 01:29:49 -05:00
enchantments Update enchantment handling to 1.4.6. Fixes BUKKIT-3256 2012-12-21 19:31:28 -06:00
entity Add API to control scaled health. Adds BUKKIT-4590 2013-07-23 21:52:17 -05:00
event Implement Horse API. Adds BUKKIT-4424 2013-07-10 13:45:52 -04:00
generator Update CraftBukkit to Minecraft 1.5.2 2013-04-27 10:42:19 -05:00
help Cleanup comments, formatting, etc 2013-03-25 00:51:36 -05:00
inventory Implement Horse API. Adds BUKKIT-4424 2013-07-10 13:45:52 -04:00
map Cleanup comments, formatting, etc 2013-03-25 00:51:36 -05:00
metadata Cleanup comments, formatting, etc 2013-03-25 00:51:36 -05:00
potion Update CraftBukkit to 1.6.2 2013-07-08 19:43:37 -04:00
scheduler Throw exception for disabled plugin tasks. Fixes BUKKIT-3951 2013-03-31 15:37:17 -05:00
scoreboard Use correct method for getting player's team. Fixes BUKKIT-4050 2013-04-11 23:03:37 -05:00
updater Cleanup comments, formatting, etc 2013-03-25 00:51:36 -05:00
util Refactor EntityDamageEvents. Adds BUKKIT-1944 & BUKKIT-3684 2013-04-10 21:33:33 -05:00
CraftArt.java Add CraftArt mappings for Wither. Fixes BUKKIT-2667. 2012-11-01 03:06:47 -05:00
CraftChunk.java Update CraftBukkit to Minecraft 1.5.2 2013-04-27 10:42:19 -05:00
CraftChunkSnapshot.java Implemented snapshot support for 1.2. 2012-03-02 00:47:21 -05:00
CraftCrashReport.java Add information about async tasks to CrashReports. Addresses BUKKIT-2491 2012-09-09 00:34:41 -05:00
CraftEffect.java [BREAKING] Update BlockFace directions. Fixes BUKKIT-1567, BUKKIT-3069 2012-12-01 01:14:25 -06:00
CraftOfflinePlayer.java Update CraftBukkit to 1.6.1 2013-07-01 12:10:06 -05:00
CraftServer.java Move world generator warning to CraftBukkit. Fixes BUKKIT-2565 2013-04-30 17:09:04 -07:00
CraftSound.java Update blaze breathe sound. Fixes BUKKIT-4286 2013-06-05 19:45:24 -05:00
CraftTravelAgent.java Update CraftBukkit to Minecraft 1.5.2 2013-04-27 10:42:19 -05:00
CraftWorld.java Implement Horse API. Adds BUKKIT-4424 2013-07-10 13:45:52 -04:00
LoggerOutputStream.java Fix formatting. 2012-01-15 10:54:57 +01:00
Main.java Change local jline checks to not use String literals. Fixes BUKKIT-2455. 2012-09-09 17:02:48 -05:00
Overridden.java Implement ItemFactory and ItemMeta values. Adds BUKKIT-15 2012-12-17 01:31:41 -06:00
TextWrapper.java Bulk pending cleanup. 2012-09-09 23:19:28 -05:00
TrigMath.java Fix formatting. 2012-01-15 10:54:57 +01:00