mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 22:15:07 +00:00
A lot of GOOD API DOCUMENTATION
This commit is contained in:
1 parent
a6c55ca331
commit
319e774518
131 files changed
+3363
-175
No files matched your search
@@ -19,6 +19,7 @@ public interface IPos {
|
||||
/**
|
||||
* Shifts the IPos up by 1 block and returns the new object.
|
||||
*
|
||||
* @return the position above
|
||||
*/
|
||||
IPos up();
|
||||
|
||||
@@ -32,6 +33,7 @@ public interface IPos {
|
||||
/**
|
||||
* Shifts the IPos down by 1 block and returns the new object.
|
||||
*
|
||||
* @return the position below
|
||||
*/
|
||||
IPos down();
|
||||
|
||||
@@ -45,6 +47,7 @@ public interface IPos {
|
||||
/**
|
||||
* Shifts the IPos north by 1 block and returns the new object.
|
||||
*
|
||||
* @return the position to the north
|
||||
*/
|
||||
IPos north();
|
||||
|
||||
@@ -58,6 +61,7 @@ public interface IPos {
|
||||
/**
|
||||
* Shifts the IPos east by 1 block and returns the new object.
|
||||
*
|
||||
* @return the position to the east
|
||||
*/
|
||||
IPos east();
|
||||
|
||||
@@ -71,6 +75,7 @@ public interface IPos {
|
||||
/**
|
||||
* Shifts the IPos south by 1 block and returns the new object.
|
||||
*
|
||||
* @return the position to the south
|
||||
*/
|
||||
IPos south();
|
||||
|
||||
@@ -84,6 +89,7 @@ public interface IPos {
|
||||
/**
|
||||
* Shifts the IPos west by 1 block and returns the new object.
|
||||
*
|
||||
* @return the position to the west
|
||||
*/
|
||||
IPos west();
|
||||
|
||||
@@ -146,12 +152,17 @@ public interface IPos {
|
||||
/**
|
||||
* Offsets the block by 1 block in the given direction and returns the resulting IPos object
|
||||
*
|
||||
* @param direction the direction ordinal
|
||||
* @return the offset position
|
||||
*/
|
||||
IPos offset(int direction);
|
||||
|
||||
/**
|
||||
* Offsets the block by n blocks in the given direction and returns the resulting IPos object
|
||||
*
|
||||
* @param direction the direction ordinal
|
||||
* @param n the distance
|
||||
* @return the offset position
|
||||
*/
|
||||
IPos offset(int direction, double n);
|
||||
|
||||
|
||||
Reference in new issue
Block a user