IEntity & IWorld:

-Added getStoredDataKeys() & getTempDataKeys() functions.
This commit is contained in:
Luis C.M committed 2022-12-27 16:46:59 -06:00
1 parent 3546dfc3be
commit 538c4393d1
2 files changed
+8

No files matched your search

+4
View File
@@ -339,6 +339,8 @@ public interface IWorld {
*/
void clearTempData();
String[] getTempDataKeys();
/**
* @param key The key of the data to be returned
* @return Returns the stored data
@@ -368,6 +370,8 @@ public interface IWorld {
*/
void clearStoredData();
String[] getStoredDataKeys();
/**
* @param x Position x
* @param y Position y
+4
View File
@@ -175,6 +175,8 @@ public interface IEntity<T extends Entity> {
*/
void clearTempData();
String[] getTempDataKeys();
/**
* @param key The key of the data to be returned
* @return Returns the stored data
@@ -204,6 +206,8 @@ public interface IEntity<T extends Entity> {
*/
void clearStoredData();
String[] getStoredDataKeys();
/**
* @return The age of this entity in ticks
*/