A lot of GOOD API DOCUMENTATION

This commit is contained in:
Kam committed 2026-03-09 16:20:07 -04:00
1 parent a6c55ca331
commit 319e774518
131 files changed
+3363 -175

No files matched your search

+5
View File
@@ -29,10 +29,14 @@ public interface ITileEntity {
/**
* Reads an INbt compound tag, creates a tile entity based on the data, and replaces this entity with the new one.
* @param nbt the NBT data to read from
*/
void readFromNBT(INbt nbt);
/**
* @param x X coordinate
* @param y Y coordinate
* @param z Z coordinate
* @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);
@@ -67,6 +71,7 @@ public interface ITileEntity {
/**
* Writes the tile entity to NBT and returns the compound tag.
* @return the tile entity's NBT data
*/
INbt getNBT();
}