mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-20 23:03:48 -07:00
[SPIGOT-946] Begin making use of access transforms to simplify patching.
This commit is contained in:
@@ -10,15 +10,6 @@
|
||||
public class EntitySlime extends EntityInsentient implements IMonster {
|
||||
|
||||
public float a;
|
||||
@@ -23,7 +27,7 @@
|
||||
this.datawatcher.a(16, Byte.valueOf((byte) 1));
|
||||
}
|
||||
|
||||
- protected void setSize(int i) {
|
||||
+ public void setSize(int i) { // CraftBukkit - public
|
||||
this.datawatcher.watch(16, Byte.valueOf((byte) i));
|
||||
this.setSize(0.51000005F * (float) i, 0.51000005F * (float) i);
|
||||
this.setPosition(this.locX, this.locY, this.locZ);
|
||||
@@ -133,6 +137,18 @@
|
||||
if (!this.world.isClientSide && i > 1 && this.getHealth() <= 0.0F) {
|
||||
int j = 2 + this.random.nextInt(3);
|
||||
|
Reference in New Issue
Block a user