Anvil日本語対応
ビルドとーらなかった。さーせん
dejiplusServer仕様に変更
Merge branch 'anvilfix-147' of github.com:dejiplusServer/CraftBukkit into dejiplus-150
Merge branch 'dejiplus-150' of github.com:dejiplusServer/CraftBukkit into dejiplus-151

Conflicts:
	src/main/java/org/bukkit/craftbukkit/CraftServer.java
Merge branch 'master' into dejiplus-151
Update1.5.2
Merge branch 'master' into dejiplus-152
Merge branch 'dejiplus-151'

Conflicts:
	src/main/java/net/minecraft/server/PlayerConnection.java
Merge branch 'dejiplus-152'

Conflicts:
	src/main/java/net/minecraft/server/PlayerConnection.java
Add PathfinderGoalTame for diff visibility.
Implement Horse API. Adds BUKKIT-4424

API has been added to interface with Horses and to modify their inventories. Horse entities will now be recognized with the type EntityType.HORSE, and will no longer be UNKNOWN.

HorseJumpEvent, EntityDamageEvent, and EntityTameEvent are all correctly fired for horses.

This commit fixes BUKKIT-4393.
Missed a mention of Java 5. We build for Java 6, as per the Minecraft spec.
Clear attributes on death; mistranslation issue.
Return inGround when checking Arrow's OnGround state. Fixes BUKKIT-4439
Correctly fire VehicleExitEvent. Fixes BUKKIT-3761

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.
Use ambient setting of potion effects. Fixes BUKKIT-4357 and BUKKIT-3653

This changes livingEntity.addPotionEffect(PotionEffect, boolean) to
construct the MobEffect using the constructor that includes the ambient
setting as supplied by the PotionEffect

This also changes livingEntity.getActivePotionEffects() to construct the
PotionEffects using the ambient setting supplied by the MobEffects.
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
Check interactable items before event. Fixes BUKKIT-4576

Items that cause entities to change state, including tags, chest, and
leashes, do not update the client properly following the firing of
PlayerInteractEntityEvent. This change makes the item checks occur
before the event fires, to concur with the client's assumptions.
Fix CraftBukkit diffs