mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 06:25:11 +00:00
Revert "Merge remote-tracking branch 'origin/dev' into dev"
This reverts commit66edbcea80, reversing changes made to3fd962289c.
This commit is contained in:
1 parent
66edbcea80
commit
8d3cd3fd82
58 files changed
+780
-284
No files matched your search
@@ -16,7 +16,9 @@ public interface ITileEntity {
|
||||
*
|
||||
* @return The world this tile entity is in.
|
||||
*/
|
||||
ScriptWorld getWorld();
|
||||
IWorld getWorld();
|
||||
|
||||
void setWorld(IWorld world);
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -24,6 +26,8 @@ public interface ITileEntity {
|
||||
*/
|
||||
TileEntity getMCTileEntity();
|
||||
|
||||
void markDirty();
|
||||
|
||||
/**
|
||||
* Reads an INbt compound tag, creates a tile entity based on the data, and replaces this entity with the new one.
|
||||
*/
|
||||
@@ -33,6 +37,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);
|
||||
|
||||
/**
|
||||
* @return A new IBlock object based on this tile entity's type.
|
||||
|
||||
Reference in new issue
Block a user