mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 09:04:44 +00:00
63 lines
1.1 KiB
Java
63 lines
1.1 KiB
Java
package noppes.npcs.api.ability.data;
|
|
|
|
import java.util.function.BiConsumer;
|
|
|
|
public interface IEnergyTrajectoryData {
|
|
int getCurrentPath();
|
|
|
|
void setCurrentPath(int currentPath);
|
|
|
|
int getDelay(int path);
|
|
|
|
void setDelay(int path, int ticks);
|
|
|
|
boolean isConcluded(int path);
|
|
|
|
void setConcluded(int path, boolean concluded);
|
|
|
|
double getX(int path);
|
|
|
|
void setX(int path, double x);
|
|
|
|
double getY(int path);
|
|
|
|
void setY(int path, double y);
|
|
|
|
double getZ(int path);
|
|
|
|
void setZ(int path, double z);
|
|
|
|
void setPath(int path, double x, double y, double z);
|
|
|
|
void setPath(int path, double x, double y, double z, int delay);
|
|
|
|
IPath createPath(double x, double y, double z);
|
|
|
|
IPath createPath(double x, double y, double z, int delay);
|
|
|
|
void forEach(BiConsumer<Integer, IPath> lambda);
|
|
|
|
interface IPath {
|
|
|
|
int getDelay();
|
|
|
|
void setDelay(int delayTicks);
|
|
|
|
boolean isConcluded();
|
|
|
|
void setConcluded(boolean concluded);
|
|
|
|
double getX();
|
|
|
|
void setX(double x);
|
|
|
|
double getY();
|
|
|
|
void setY(double y);
|
|
|
|
double getZ();
|
|
|
|
void setZ(double z);
|
|
}
|
|
}
|