Package net.paulem.arcana.regions
Interface Tracked<K>
- Type Parameters:
K- the type of the key used to identify this object
public interface Tracked<K>
Represents an object that can be tracked and associated with a unique key.
Implementations are typically stored in a
Tracker and its underlying block containers.-
Method Summary
-
Method Details
-
getKey
K getKey()- Returns:
- the key used to identify and locate this object
-
onUnload
void onUnload()Called when the chunk containing this object is unloaded, allowing implementations to persist or clean up their state.
-