Interface Interaction.PreviousInteraction

Enclosing interface:
Interaction

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

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

    • getPlayer

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

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