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

public class SavedPlayerState extends SavedLivingEntityState<org.bukkit.entity.Player>
  • Constructor Details

    • SavedPlayerState

      public SavedPlayerState()
  • Method Details

    • trackAll

      public void trackAll()
      Description copied from class: SavedEntityState
      Add all known states that aren't already being tracked. If using an extending class, such as SavedPlayerState, 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:
      trackAll in class SavedLivingEntityState<org.bukkit.entity.Player>