Constructor and Description |
---|
VisibilityAction(String targetId,
boolean visibility)
Instantiates a new Visibility action.
|
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 VisibilityAction(String targetId, boolean visibility)
targetId
- the id of the targeted componentvisibility
- whether the component should be visible after this action executedpublic void execute(Interaction interaction, org.bukkit.entity.Player player, boolean primaryTrigger)
Action
Copyright © 2021. All rights reserved.