Interface TrackedEntity


public interface TrackedEntity
  • Method Summary

    Modifier and Type
    Method
    Description
    Object to hold arbitrary additional data.
    Returns the type of the stored entity.
    boolean
    Returns whether the stored entity currently has any additional data.
    boolean
    Returns whether entity data has already been sent at least once for this entity.
    void
    sentEntityData(boolean sentEntityData)
     
  • Method Details

    • entityType

      EntityType entityType()
      Returns the type of the stored entity.
      Returns:
      type of the entity
    • data

      Object to hold arbitrary additional data.
      Returns:
      entity data
    • hasData

      boolean hasData()
      Returns whether the stored entity currently has any additional data.
      Returns:
      whether the stored entity currently has additional data
    • hasSentEntityData

      boolean hasSentEntityData()
      Returns whether entity data has already been sent at least once for this entity.
      Returns:
      whether entity data has already been sent at least once for this entity
    • sentEntityData

      void sentEntityData(boolean sentEntityData)