[SPIGOT-946] Begin making use of access transforms to simplify patching.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2015-06-06 19:33:48 +10:00
parent ae714e4861
commit 58abe21c5a
47 changed files with 76 additions and 632 deletions

View File

@@ -41,15 +41,6 @@
private static final AxisAlignedBB a = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 0.0D, 0.0D, 0.0D);
private static int entityCount;
private int id;
@@ -55,7 +87,7 @@
protected Random random;
public int ticksLived;
public int maxFireTicks;
- private int fireTicks;
+ public int fireTicks; // CraftBukkit - public
protected boolean inWater;
public int noDamageTicks;
protected boolean justCreated;
@@ -79,6 +111,8 @@
private boolean invulnerable;
protected UUID uniqueID;
@@ -59,15 +50,6 @@
public int getId() {
return this.id;
@@ -137,7 +171,7 @@
this.dead = true;
}
- protected void setSize(float f, float f1) {
+ public void setSize(float f, float f1) { // CraftBukkit - public
if (f != this.width || f1 != this.length) {
float f2 = this.width;
@@ -152,6 +186,33 @@
}