More progress
This commit is contained in:
@@ -6,7 +6,7 @@ Subject: [PATCH] EntityPathfindEvent
|
||||
Fires when an Entity decides to start moving to a location.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/Navigation.java b/src/main/java/net/minecraft/server/Navigation.java
|
||||
index 9ca0e2c9d0..fd1dbb1085 100644
|
||||
index 3fdeda0ce..abf450917 100644
|
||||
--- a/src/main/java/net/minecraft/server/Navigation.java
|
||||
+++ b/src/main/java/net/minecraft/server/Navigation.java
|
||||
@@ -0,0 +0,0 @@ public class Navigation extends NavigationAbstract {
|
||||
@@ -19,7 +19,7 @@ index 9ca0e2c9d0..fd1dbb1085 100644
|
||||
|
||||
private int t() {
|
||||
diff --git a/src/main/java/net/minecraft/server/NavigationAbstract.java b/src/main/java/net/minecraft/server/NavigationAbstract.java
|
||||
index 4e49133b03..4d04ba8fc6 100644
|
||||
index a600ee765..5e7158ba1 100644
|
||||
--- a/src/main/java/net/minecraft/server/NavigationAbstract.java
|
||||
+++ b/src/main/java/net/minecraft/server/NavigationAbstract.java
|
||||
@@ -0,0 +0,0 @@ import javax.annotation.Nullable;
|
||||
@@ -59,7 +59,7 @@ index 4e49133b03..4d04ba8fc6 100644
|
||||
+ // Paper end
|
||||
if (set.isEmpty()) {
|
||||
return null;
|
||||
} else if (this.a.locY < 0.0D) {
|
||||
} else if (this.a.locY() < 0.0D) {
|
||||
@@ -0,0 +0,0 @@ public abstract class NavigationAbstract {
|
||||
} else if (this.c != null && !this.c.b() && set.contains(this.q)) {
|
||||
return this.c;
|
||||
@@ -82,10 +82,10 @@ index 4e49133b03..4d04ba8fc6 100644
|
||||
+ }
|
||||
+ // Paper end
|
||||
this.b.getMethodProfiler().enter("pathfind");
|
||||
float f = this.i();
|
||||
float f = (float) this.p.getValue();
|
||||
BlockPosition blockposition = flag ? (new BlockPosition(this.a)).up() : new BlockPosition(this.a);
|
||||
diff --git a/src/main/java/net/minecraft/server/NavigationFlying.java b/src/main/java/net/minecraft/server/NavigationFlying.java
|
||||
index f5844a7260..fbf5752aa5 100644
|
||||
index 5b057e96d..f16c6d1fa 100644
|
||||
--- a/src/main/java/net/minecraft/server/NavigationFlying.java
|
||||
+++ b/src/main/java/net/minecraft/server/NavigationFlying.java
|
||||
@@ -0,0 +0,0 @@ public class NavigationFlying extends NavigationAbstract {
|
||||
|
||||
Reference in New Issue
Block a user