接口 Interaction.PreviousInteraction
- 封闭接口:
- Interaction
public static interface Interaction.PreviousInteraction
Represents a previous interaction with this entity.
-
方法概要
修饰符和类型方法说明Get the previous interacting player.long
Gets the Unix timestamp at when this interaction occurred.
-
方法详细资料
-
getPlayer
Get the previous interacting player.- 返回:
- interacting player
-
getTimestamp
long getTimestamp()Gets the Unix timestamp at when this interaction occurred.- 返回:
- interaction timestamp
-