Package org.spongepowered.api.datapack
Interface DataPackType<T>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets if resources created by this type will persist even if theplugin
is no longer present (or no longer performs a registration inRegisterDataPackValueEvent
io.leangen.geantyref.TypeToken<T>
type()
-
Method Details
-
type
io.leangen.geantyref.TypeToken<T> type() -
persistent
boolean persistent()Gets if resources created by this type will persist even if theplugin
is no longer present (or no longer performs a registration inRegisterDataPackValueEvent
Consult your implementation vendor for more details on exactly what resources are kept.
- Returns:
- True if persistent, false if not
-