Initial 1.18.1 update

This commit is contained in:
lexikiq
2021-12-26 21:42:55 -05:00
parent 684ee059ea
commit 8bb5b1f601
28 changed files with 368 additions and 394 deletions

View File

@@ -0,0 +1,17 @@
package gg.projecteden.common;
import org.jetbrains.annotations.Nullable;
import java.util.UUID;
/**
* Represents an object that may have a {@link UUID}
*/
public interface OptionalUniqueId {
/**
* Returns a unique and persistent id for this object which may be null
*
* @return unique id or null
*/
@Nullable UUID getUniqueId(); // named getUniqueId to maintain compatibility with Bukkit
}