Refactored addData to setData

Added hasData
This commit is contained in:
bigguy345 committed 2025-05-30 04:07:55 +03:00
1 parent a869b33edc
commit 5c6b16e75f
1 file changed
+3 -1
@@ -69,10 +69,12 @@ public interface IAction {
* @param key a string key
* @param value any object to associate with this action
*/
IAction addData(String key, Object value);
IAction setData(String key, Object value);
IAction removeData(String key);
boolean hasData(String key);
/**
* @return how many ticks between each invocation of the action callback
*/