Interface Interaction.PreviousInteraction

Enclosing interface:
Interaction

public static interface Interaction.PreviousInteraction
Represents a previous interaction with this entity.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Get the previous interacting player.
    long
    Gets the Unix timestamp at when this interaction occurred.
  • Method Details Link icon

    • getPlayer Link icon

      @NotNull OfflinePlayer getPlayer()
      Get the previous interacting player.
      Returns:
      interacting player
    • getTimestamp Link icon

      long getTimestamp()
      Gets the Unix timestamp at when this interaction occurred.
      Returns:
      interaction timestamp