mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 21:54:44 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
c22c5f9d79
commit
afb5f1d645
60 files changed
+592
-509
No files matched your search
@@ -18,12 +18,10 @@ public interface IPos {
|
||||
|
||||
/**
|
||||
* Shifts the IPos up by 1 block and returns the new object.
|
||||
*
|
||||
*/
|
||||
IPos up();
|
||||
|
||||
/**
|
||||
*
|
||||
* @param n The number of blocks to move the position up by.
|
||||
* @return The new IPos object.
|
||||
*/
|
||||
@@ -31,12 +29,10 @@ public interface IPos {
|
||||
|
||||
/**
|
||||
* Shifts the IPos down by 1 block and returns the new object.
|
||||
*
|
||||
*/
|
||||
IPos down();
|
||||
|
||||
/**
|
||||
*
|
||||
* @param n The number of blocks to move the position down by.
|
||||
* @return The new IPos object.
|
||||
*/
|
||||
@@ -44,12 +40,10 @@ public interface IPos {
|
||||
|
||||
/**
|
||||
* Shifts the IPos north by 1 block and returns the new object.
|
||||
*
|
||||
*/
|
||||
IPos north();
|
||||
|
||||
/**
|
||||
*
|
||||
* @param n The number of blocks to move the position north by.
|
||||
* @return The new IPos object.
|
||||
*/
|
||||
@@ -57,12 +51,10 @@ public interface IPos {
|
||||
|
||||
/**
|
||||
* Shifts the IPos east by 1 block and returns the new object.
|
||||
*
|
||||
*/
|
||||
IPos east();
|
||||
|
||||
/**
|
||||
*
|
||||
* @param n The number of blocks to move the position east by.
|
||||
* @return The new IPos object.
|
||||
*/
|
||||
@@ -70,12 +62,10 @@ public interface IPos {
|
||||
|
||||
/**
|
||||
* Shifts the IPos south by 1 block and returns the new object.
|
||||
*
|
||||
*/
|
||||
IPos south();
|
||||
|
||||
/**
|
||||
*
|
||||
* @param n The number of blocks to move the position south by.
|
||||
* @return The new IPos object.
|
||||
*/
|
||||
@@ -83,12 +73,10 @@ public interface IPos {
|
||||
|
||||
/**
|
||||
* Shifts the IPos west by 1 block and returns the new object.
|
||||
*
|
||||
*/
|
||||
IPos west();
|
||||
|
||||
/**
|
||||
*
|
||||
* @param n The number of blocks to move the position west by.
|
||||
* @return The new IPos object.
|
||||
*/
|
||||
@@ -137,7 +125,6 @@ public interface IPos {
|
||||
/**
|
||||
* Returns a normalized vector of this block's position, calculated by:
|
||||
*
|
||||
*
|
||||
* @return The normalized vector of this block position.
|
||||
*/
|
||||
IPos normalize();
|
||||
@@ -146,13 +133,11 @@ public interface IPos {
|
||||
|
||||
/**
|
||||
* Offsets the block by 1 block in the given direction and returns the resulting IPos object
|
||||
*
|
||||
*/
|
||||
IPos offset(int direction);
|
||||
|
||||
/**
|
||||
* Offsets the block by n blocks in the given direction and returns the resulting IPos object
|
||||
*
|
||||
*/
|
||||
IPos offset(int direction, double n);
|
||||
|
||||
@@ -167,7 +152,6 @@ public interface IPos {
|
||||
IPos fromLong(long serialized);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param pos The IPos object to calculate the distance to
|
||||
* @return The distance between this IPos object and the other.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user