Horse armor slot fix (#1643)

* Horse armor slot fix

Addresses 2a404a0023 (commitcomment-41118532)

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/entity/passive/HorseBaseEntity.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2020-08-03 02:25:46 -05:00 committed by GitHub
parent 5eaefeba3d
commit 52768fb916
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 3 deletions

View File

@ -40,7 +40,16 @@ CLASS net/minecraft/class_1496 net/minecraft/entity/passive/HorseBaseEntity
ARG 1 uuid
METHOD method_6733 playEatingAnimation ()V
METHOD method_6734 canBreed ()Z
METHOD method_6735 canEquip ()Z
METHOD method_6735 hasArmorSlot ()Z
COMMENT Whether this horse has a slot for custom equipment besides a saddle.
COMMENT
COMMENT <p>In the item slot argument type, the slot is referred to as <code>
COMMENT horse.armor</code>. In this horse's screen, it appears in the middle of
COMMENT the left side, and right below the saddle slot if this horse has a saddle
COMMENT slot.</p>
COMMENT
COMMENT <p>This is used by horse armors and llama carpets, but can be
COMMENT refitted to any purpose.</p>
METHOD method_6736 isAngry ()Z
METHOD method_6737 setAngry (Z)V
ARG 1 angry
@ -68,7 +77,10 @@ CLASS net/minecraft/class_1496 net/minecraft/entity/passive/HorseBaseEntity
ARG 1 bred
METHOD method_6752 bondWithPlayer (Lnet/minecraft/class_1657;)Z
ARG 1 player
METHOD method_6753 setSaddled ()Z
METHOD method_6753 hasArmorInSlot ()Z
COMMENT Whether this horse already has an item stack in its horse armor slot.
COMMENT
COMMENT @see #hasArmorSlot()
METHOD method_6754 getChildHealthBonus ()F
METHOD method_6755 getMaxTemper ()I
METHOD method_6757 playAngrySound ()V
@ -93,6 +105,9 @@ CLASS net/minecraft/class_1496 net/minecraft/entity/passive/HorseBaseEntity
METHOD method_6771 getJumpStrength ()D
METHOD method_6772 getEatingAnimationProgress (F)F
ARG 1 tickDelta
METHOD method_6773 canEquip (Lnet/minecraft/class_1799;)Z
METHOD method_6773 isHorseArmor (Lnet/minecraft/class_1799;)Z
COMMENT Whether the given item stack is valid for this horse's armor slot.
COMMENT
COMMENT @see #hasArmorSlot()
ARG 1 item
METHOD method_6774 getChildJumpStrengthBonus ()D