程序包 org.bukkit.entity

# 接口 Interaction.PreviousInteraction

封闭接口:
  Interaction

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

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull OfflinePlayer`
  `getPlayer()`
  Get the previous interacting player.
  `long`
  `getTimestamp()`
  Gets the Unix timestamp at when this interaction occurred.

- ## 方法详细资料

  - ### getPlayer

    @NotNull @NotNull OfflinePlayer getPlayer()
    Get the previous interacting player.
    返回:
      interacting player

  - ### getTimestamp

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