Identifiable

interface Identifiable

Represents an object that can be identified by a unique ID and a UUID.

This is commonly used for entities and other tracked objects in the game.

Since

1.15.2

Inheritors

Functions

Link copied to clipboard
abstract fun id(): Int
Returns the integer ID of the object (e.g., entity ID).
Link copied to clipboard
@NotNull
abstract fun uuid(): @NotNull UUID
Returns the UUID of the object.