Package be.seeseemelk.mockbukkit.entity
Class InteractionMock.PreviousInteractionMock
java.lang.Object
be.seeseemelk.mockbukkit.entity.InteractionMock.PreviousInteractionMock
- All Implemented Interfaces:
Interaction.PreviousInteraction
- Enclosing class:
InteractionMock
public static class InteractionMock.PreviousInteractionMock
extends Object
implements Interaction.PreviousInteraction
-
Constructor Summary
ConstructorsConstructorDescriptionPreviousInteractionMock(OfflinePlayer player, long timestamp) Create a previous interaction mock. -
Method Summary
-
Constructor Details
-
PreviousInteractionMock
Create a previous interaction mock.- Parameters:
player- The last player that interacted.timestamp- The interaction timestamp.
-
-
Method Details
-
getPlayer
- Specified by:
getPlayerin interfaceInteraction.PreviousInteraction
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestampin interfaceInteraction.PreviousInteraction
-