mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 00:14: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
@@ -4,7 +4,6 @@ import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
public interface ITileEntity {
|
||||
/**
|
||||
*
|
||||
* @return An integer representing the metadata of this block. Blocks with different states will
|
||||
* return different values. For example, each stage of growth for a wheat crop will return a different value, each
|
||||
* orientation of a stair block will return a different value, etc.
|
||||
@@ -12,7 +11,6 @@ public interface ITileEntity {
|
||||
int getBlockMetadata();
|
||||
|
||||
/**
|
||||
*
|
||||
* @return The world this tile entity is in.
|
||||
*/
|
||||
IWorld getWorld();
|
||||
@@ -20,7 +18,6 @@ public interface ITileEntity {
|
||||
void setWorld(IWorld world);
|
||||
|
||||
/**
|
||||
*
|
||||
* @return An obfuscated MC tile entity object.
|
||||
*/
|
||||
TileEntity getMCTileEntity();
|
||||
@@ -36,6 +33,7 @@ public interface ITileEntity {
|
||||
* @return The distance of this tile entity from the point given by the x, y, and z parameters.
|
||||
*/
|
||||
double getDistanceFrom(double x, double y, double z);
|
||||
|
||||
double getDistanceFrom(IPos pos);
|
||||
|
||||
/**
|
||||
@@ -44,7 +42,6 @@ public interface ITileEntity {
|
||||
IBlock getBlockType();
|
||||
|
||||
/**
|
||||
*
|
||||
* @return True if the tile entity is invalid, false otherwise.
|
||||
*/
|
||||
boolean isInvalid();
|
||||
|
||||
Reference in new issue
Block a user