even even even more work

This commit is contained in:
MiniDigger | Martin
2020-06-25 16:09:55 +02:00
parent 4aa7955818
commit e943ece469
125 changed files with 857 additions and 3512 deletions

View File

@@ -171,7 +171,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
@Nullable
- public PathEntity a(Entity entity, int i) {
+ public final PathEntity calculateDestination(Entity entity) { return a(entity, 0); } public PathEntity a(Entity entity, int i) {
return this.a(ImmutableSet.of(new BlockPosition(entity)), entity, 16, true, i); // Paper
return this.a(ImmutableSet.of(entity.getChunkCoordinates()), entity, 16, true, i); // Paper
}
@@ -0,0 +0,0 @@ public abstract class NavigationAbstract {
@@ -234,11 +234,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
return this.a(entity, this.e);
}
- public Vec3D g() {
+ public Vec3D getNext() { return g(); } public Vec3D g() { // Paper - OBFHELPER
PathPoint pathpoint = (PathPoint) this.a.get(this.e);
- public BaseBlockPosition g() {
+ public BaseBlockPosition getNext() { return g(); } public BaseBlockPosition g() { // Paper - OBFHELPER
PathPoint pathpoint = this.h();
return new Vec3D((double) pathpoint.a, (double) pathpoint.b, (double) pathpoint.c);
return new BaseBlockPosition(pathpoint.a, pathpoint.b, pathpoint.c);
diff --git a/src/main/java/net/minecraft/server/PathPoint.java b/src/main/java/net/minecraft/server/PathPoint.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/net/minecraft/server/PathPoint.java