public class GifControlAction extends Object implements Action
GifComponent is paused or not
for a player.| Constructor and Description |
|---|
GifControlAction(String targetId,
boolean pause,
boolean reset)
Instantiates a new GifControlAction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Interaction interaction,
org.bukkit.entity.Player player,
boolean primaryTrigger)
Executes the action for the given player in the given interaction.
|
public GifControlAction(String targetId, boolean pause, boolean reset)
targetId - the id of the GifComponentpause - whether to pause the GIF when the action executesreset - whether to reset the GIF to the first framepublic void execute(Interaction interaction, org.bukkit.entity.Player player, boolean primaryTrigger)
ActionCopyright © 2021. All rights reserved.