summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityHorse.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2015-06-06 19:33:48 +1000
committermd_5 <git@md-5.net>2015-06-06 19:46:42 +1000
commita65e45d889c1f040e1921eb84903af915df512db (patch)
tree74ff87413ffc36de8640085c6b611b554a55b144 /nms-patches/EntityHorse.patch
parenta6a57a96d02e57264d45120ce9f272c18c64407a (diff)
downloadcraftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar
craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.gz
craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.lz
craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.xz
craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.zip
[SPIGOT-946] Begin making use of access transforms to simplify patching.
Diffstat (limited to 'nms-patches/EntityHorse.patch')
-rw-r--r--nms-patches/EntityHorse.patch21
1 files changed, 1 insertions, 20 deletions
diff --git a/nms-patches/EntityHorse.patch b/nms-patches/EntityHorse.patch
index 8a19f61a..06eece5e 100644
--- a/nms-patches/EntityHorse.patch
+++ b/nms-patches/EntityHorse.patch
@@ -9,24 +9,6 @@
public class EntityHorse extends EntityAnimal implements IInventoryListener {
private static final Predicate<Entity> bs = new Predicate() {
-@@ -15,7 +17,7 @@
- return this.a((Entity) object);
- }
- };
-- private static final IAttribute attributeJumpStrength = (new AttributeRanged((IAttribute) null, "horse.jumpStrength", 0.7D, 0.0D, 2.0D)).a("Jump Strength").a(true);
-+ public static final IAttribute attributeJumpStrength = (new AttributeRanged((IAttribute) null, "horse.jumpStrength", 0.7D, 0.0D, 2.0D)).a("Jump Strength").a(true); // CraftBukkit - public
- private static final String[] bu = new String[] { null, "textures/entity/horse/armor/horse_armor_iron.png", "textures/entity/horse/armor/horse_armor_gold.png", "textures/entity/horse/armor/horse_armor_diamond.png"};
- private static final String[] bv = new String[] { "", "meo", "goo", "dio"};
- private static final int[] bw = new int[] { 0, 5, 7, 11};
-@@ -29,7 +31,7 @@
- public int bm;
- public int bo;
- protected boolean bp;
-- private InventoryHorseChest inventoryChest;
-+ public InventoryHorseChest inventoryChest; // CraftBukkit - public
- private boolean bF;
- protected int bq;
- protected float br;
@@ -44,6 +46,7 @@
private String bO;
private String[] bP = new String[3];
@@ -43,8 +25,7 @@
+ return this.hasChest() /* && (i == 1 || i == 2) */ ? 17 : 2; // CraftBukkit - Remove type check
}
-- private void loadChest() {
-+ public void loadChest() { // CraftBukkit - public
+ public void loadChest() {
InventoryHorseChest inventoryhorsechest = this.inventoryChest;
- this.inventoryChest = new InventoryHorseChest("HorseChest", this.cZ());