mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 00:19:05 +00:00
Added Flying Code / Corrected Hidden Parts not Saving
Added a ton of code regarding Flying doesn't work correctly. Please Uncomment them by searching for Comment: // Fly Change Fixed Hidden Parts not Saving
This commit is contained in:
1 parent
7e7aaa805b
commit
3727d1af7a
18 files changed
+1365
-101
No files matched your search
@@ -0,0 +1,23 @@
|
||||
package noppes.npcs.ai.pathfinder;
|
||||
|
||||
import net.minecraft.pathfinding.PathPoint;
|
||||
import net.minecraft.util.MathHelper;
|
||||
|
||||
public class NPCPathPoint extends PathPoint
|
||||
{
|
||||
/** The index of this point in its assigned path */
|
||||
public int index = -1;
|
||||
/** The distance along the path to this point */
|
||||
public float totalPathDistance;
|
||||
/** The linear distance to the next point */
|
||||
public float distanceToNext;
|
||||
/** The distance to the target */
|
||||
public float distanceToTarget;
|
||||
public PathPoint previous;
|
||||
|
||||
public NPCPathPoint(int p_i2135_1_, int p_i2135_2_, int p_i2135_3_)
|
||||
{
|
||||
super(p_i2135_1_, p_i2135_2_,p_i2135_3_);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user