mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 18:24:44 +00:00
IWorld:
-Added isPlaceCancelled and isBreakCancelled functions
This commit is contained in:
1 parent
3570b3af0c
commit
21b4d91fc7
1 file changed
+8
@@ -206,6 +206,14 @@ public interface IWorld {
|
||||
void removeBlock(int x, int y, int z);
|
||||
void removeBlock(IPos pos);
|
||||
|
||||
boolean isPlaceCancelled(int posX, int posY, int posZ);
|
||||
|
||||
boolean isPlaceCancelled(IPos pos);
|
||||
|
||||
boolean isBreakCancelled(int posX, int posY, int posZ);
|
||||
|
||||
boolean isBreakCancelled(IPos pos);
|
||||
|
||||
IPos rayCastPos(double[] startPos, double[] lookVector, int maxDistance, boolean stopOnBlock, boolean stopOnLiquid, boolean stopOnCollision);
|
||||
|
||||
IPos rayCastPos(double[] startPos, double[] lookVector, int maxDistance);
|
||||
|
||||
Reference in new issue
Block a user