Package org.bukkit.entity
Interface Interaction.PreviousInteraction
- Enclosing interface:
- Interaction
public static interface Interaction.PreviousInteraction
Represents a previous interaction with this entity.
-
Method Summary
Modifier and TypeMethodDescriptionGet the previous interacting player.long
Gets the Unix timestamp at when this interaction occurred.
-
Method Details
-
getPlayer
Get the previous interacting player.- Returns:
- interacting player
-
getTimestamp
long getTimestamp()Gets the Unix timestamp at when this interaction occurred.- Returns:
- interaction timestamp
-