mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-19 06:13:49 -07:00
@@ -1,5 +1,19 @@
|
||||
--- a/net/minecraft/server/EntityTurtle.java
|
||||
+++ b/net/minecraft/server/EntityTurtle.java
|
||||
@@ -130,11 +130,11 @@
|
||||
this.goalSelector.a(1, new EntityTurtle.a(this, 1.0D));
|
||||
this.goalSelector.a(1, new EntityTurtle.d(this, 1.0D));
|
||||
this.goalSelector.a(2, new EntityTurtle.i(this, 1.1D, Blocks.SEAGRASS.getItem()));
|
||||
- this.goalSelector.a(3, new EntityTurtle.c(this, 1.0D, null));
|
||||
+ this.goalSelector.a(3, new EntityTurtle.c(this, 1.0D)); // CraftBukkit - decompile error
|
||||
this.goalSelector.a(4, new EntityTurtle.b(this, 1.0D));
|
||||
this.goalSelector.a(7, new EntityTurtle.j(this, 1.0D));
|
||||
this.goalSelector.a(8, new PathfinderGoalLookAtPlayer(this, EntityHuman.class, 8.0F));
|
||||
- this.goalSelector.a(9, new EntityTurtle.h(this, 1.0D, 100, null));
|
||||
+ this.goalSelector.a(9, new EntityTurtle.h(this, 1.0D, 100)); // CraftBukkit - decompile error
|
||||
}
|
||||
|
||||
protected void initAttributes() {
|
||||
@@ -232,7 +232,9 @@
|
||||
protected void l() {
|
||||
super.l();
|
||||
@@ -20,7 +34,7 @@
|
||||
}
|
||||
|
||||
public void die(DamageSource damagesource) {
|
||||
@@ -435,8 +439,12 @@
|
||||
@@ -423,15 +427,19 @@
|
||||
} else if (this.f.bK > 200) {
|
||||
World world = this.f.world;
|
||||
|
||||
@@ -33,3 +47,11 @@
|
||||
this.f.s(false);
|
||||
this.f.t(false);
|
||||
this.f.d(600);
|
||||
}
|
||||
|
||||
if (this.f.dz()) {
|
||||
- EntityTurtle.g(this.f);
|
||||
+ this.f.bK++; // CraftBukkit - decompile error
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user