mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 22:45:12 +00:00
Added methods to trajectory
This commit is contained in:
1 parent
49ffa6a208
commit
29ad8637d6
1 file changed
+18
@@ -1,5 +1,7 @@
|
||||
package noppes.npcs.api.ability.data;
|
||||
|
||||
import noppes.npcs.api.IPos;
|
||||
|
||||
import java.util.function.BiConsumer;
|
||||
|
||||
public interface IEnergyTrajectoryData {
|
||||
@@ -11,6 +13,10 @@ public interface IEnergyTrajectoryData {
|
||||
|
||||
void setDelay(int path, int ticks);
|
||||
|
||||
IPos getPos(int path);
|
||||
|
||||
void setPos(int path, IPos coords);
|
||||
|
||||
boolean isConcluded(int path);
|
||||
|
||||
void setConcluded(int path, boolean concluded);
|
||||
@@ -27,10 +33,18 @@ 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);
|
||||
@@ -39,6 +53,10 @@ public interface IEnergyTrajectoryData {
|
||||
|
||||
interface IPath {
|
||||
|
||||
IPos getPos();
|
||||
|
||||
void setPos(IPos pos);
|
||||
|
||||
int getDelay();
|
||||
|
||||
void setDelay(int delayTicks);
|
||||
|
||||
Reference in new issue
Block a user