mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 23:04:44 +00:00
More trajectory changes
This commit is contained in:
1 parent
d70aefdd44
commit
49ffa6a208
1 file changed
+6
-16
@@ -1,7 +1,5 @@
|
||||
package noppes.npcs.api.ability.data;
|
||||
|
||||
import noppes.npcs.api.IPos;
|
||||
|
||||
import java.util.function.BiConsumer;
|
||||
|
||||
public interface IEnergyTrajectoryData {
|
||||
@@ -13,9 +11,9 @@ public interface IEnergyTrajectoryData {
|
||||
|
||||
void setDelay(int path, int ticks);
|
||||
|
||||
IPos getPos(int path);
|
||||
boolean isConcluded(int path);
|
||||
|
||||
void setPos(int path, IPos coords);
|
||||
void setConcluded(int path, boolean concluded);
|
||||
|
||||
double getX(int path);
|
||||
|
||||
@@ -29,18 +27,10 @@ public interface IEnergyTrajectoryData {
|
||||
|
||||
void setZ(int path, double z);
|
||||
|
||||
void setPath(int path, IPos pos);
|
||||
|
||||
void setPath(int path, IPos pos, int delay);
|
||||
|
||||
void setPath(int path, double x, double y, double z);
|
||||
|
||||
void setPath(int path, double x, double y, double z, int delay);
|
||||
|
||||
IPath createPath(IPos coords);
|
||||
|
||||
IPath createPath(IPos coords, int delay);
|
||||
|
||||
IPath createPath(double x, double y, double z);
|
||||
|
||||
IPath createPath(double x, double y, double z, int delay);
|
||||
@@ -49,14 +39,14 @@ public interface IEnergyTrajectoryData {
|
||||
|
||||
interface IPath {
|
||||
|
||||
IPos getPos();
|
||||
|
||||
void setPos(IPos pos);
|
||||
|
||||
int getDelay();
|
||||
|
||||
void setDelay(int delayTicks);
|
||||
|
||||
boolean isConcluded();
|
||||
|
||||
void setConcluded(boolean concluded);
|
||||
|
||||
double getX();
|
||||
|
||||
void setX(double x);
|
||||
|
||||
Reference in new issue
Block a user