mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 21:33:49 -07:00
Update to Minecraft 1.12-pre2
This commit is contained in:
@@ -11,33 +11,6 @@
|
||||
|
||||
public class EntityShulker extends EntityGolem implements IMonster {
|
||||
|
||||
@@ -14,7 +18,7 @@
|
||||
protected static final DataWatcherObject<EnumDirection> a = DataWatcher.a(EntityShulker.class, DataWatcherRegistry.l);
|
||||
protected static final DataWatcherObject<Optional<BlockPosition>> b = DataWatcher.a(EntityShulker.class, DataWatcherRegistry.k);
|
||||
protected static final DataWatcherObject<Byte> c = DataWatcher.a(EntityShulker.class, DataWatcherRegistry.a);
|
||||
- protected static final DataWatcherObject<Byte> bw = DataWatcher.a(EntityShulker.class, DataWatcherRegistry.a);
|
||||
+ public static final DataWatcherObject<Byte> bw = DataWatcher.a(EntityShulker.class, DataWatcherRegistry.a); // PAIL: protected -> public, rename COLOR
|
||||
public static final EnumColor bx = EnumColor.PURPLE;
|
||||
private float bA;
|
||||
private float bB;
|
||||
@@ -65,7 +69,7 @@
|
||||
}
|
||||
|
||||
public void D() {
|
||||
- if (!this.do()) {
|
||||
+ if (!this.do_()) {
|
||||
super.D();
|
||||
}
|
||||
|
||||
@@ -76,7 +80,7 @@
|
||||
}
|
||||
|
||||
protected SoundEffect bW() {
|
||||
- return this.do() ? SoundEffects.fH : SoundEffects.fG;
|
||||
+ return this.do_() ? SoundEffects.fH : SoundEffects.fG;
|
||||
}
|
||||
|
||||
protected void i() {
|
||||
@@ -112,7 +116,7 @@
|
||||
|
||||
this.datawatcher.set(EntityShulker.b, Optional.of(new BlockPosition(i, j, k)));
|
||||
@@ -67,21 +40,3 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -390,7 +403,7 @@
|
||||
}
|
||||
|
||||
public boolean damageEntity(DamageSource damagesource, float f) {
|
||||
- if (this.do()) {
|
||||
+ if (this.do_()) {
|
||||
Entity entity = damagesource.i();
|
||||
|
||||
if (entity instanceof EntityArrow) {
|
||||
@@ -409,7 +422,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- private boolean do() {
|
||||
+ private boolean do_() {
|
||||
return this.dj() == 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user