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