Package wbs.utils.util.entities.state
Class SavedLivingEntityState<T extends org.bukkit.entity.LivingEntity>
java.lang.Object
wbs.utils.util.entities.state.SavedEntityState<T>
wbs.utils.util.entities.state.SavedLivingEntityState<T>
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
- Direct Known Subclasses:
SavedPlayerState
public class SavedLivingEntityState<T extends org.bukkit.entity.LivingEntity>
extends SavedEntityState<T>
-
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
-
SavedLivingEntityState
public SavedLivingEntityState()
-
-
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 classSavedEntityState<T extends org.bukkit.entity.LivingEntity>
-