Interface Data<T>
- Type Parameters:
T- The type of data.
- All Known Subinterfaces:
SyncedData<T>
- All Known Implementing Classes:
AutoSaveData,SaveData,SyncedAutoSaveData,SyncedWorldSaveData,WorldSaveData
public interface Data<T>
Represents an object holding a piece of data.
-
Method Summary
-
Method Details
-
getData
Get the current data.- Returns:
- The current data.
-
setData
Set the current data.- Parameters:
value- The new data.
-