[SPIGOT-946] Begin making use of access transforms to simplify patching.
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user