mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 16:04:44 +00:00
Added more API methods
This commit is contained in:
1 parent
0a7aee1f8b
commit
d70aefdd44
1 file changed
+23
-1
@@ -1,8 +1,9 @@
|
||||
package noppes.npcs.api.ability.data;
|
||||
|
||||
import kamkeel.npcs.controllers.data.ability.data.EnergyTrajectoryData;
|
||||
import noppes.npcs.api.IPos;
|
||||
|
||||
import java.util.function.BiConsumer;
|
||||
|
||||
public interface IEnergyTrajectoryData {
|
||||
int getCurrentPath();
|
||||
|
||||
@@ -44,7 +45,28 @@ public interface IEnergyTrajectoryData {
|
||||
|
||||
IPath createPath(double x, double y, double z, int delay);
|
||||
|
||||
void forEach(BiConsumer<Integer, IPath> lambda);
|
||||
|
||||
interface IPath {
|
||||
|
||||
IPos getPos();
|
||||
|
||||
void setPos(IPos pos);
|
||||
|
||||
int getDelay();
|
||||
|
||||
void setDelay(int delayTicks);
|
||||
|
||||
double getX();
|
||||
|
||||
void setX(double x);
|
||||
|
||||
double getY();
|
||||
|
||||
void setY(double y);
|
||||
|
||||
double getZ();
|
||||
|
||||
void setZ(double z);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user