Package wbs.utils.util.entities.state
Class SavedPlayerState
java.lang.Object
wbs.utils.util.entities.state.SavedEntityState<T>
wbs.utils.util.entities.state.SavedLivingEntityState<org.bukkit.entity.Player>
wbs.utils.util.entities.state.SavedPlayerState
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtrackAll()Add all known states that aren't already being tracked.Methods inherited from class wbs.utils.util.entities.state.SavedEntityState
captureState, deserialize, restoreState, serialize, track, track, trackIfAbsent
-
Constructor Details
-
SavedPlayerState
public SavedPlayerState()
-
-
Method Details
-
trackAll
public void trackAll()Description copied from class:SavedEntityStateAdd all known states that aren't already being tracked. If using an extending class, such asSavedPlayerState, additional states are tracked for the implementing classes entity type.Note that this does not use a concrete way of finding subclasses; the classpath is not scanned, and the generic parameter isn't used. This is manually implemented and will not reflect new changes without updating, including new trackable states created outside of WbsUtils.
- Overrides:
trackAllin classSavedLivingEntityState<org.bukkit.entity.Player>
-