| Modifier and Type | Class and Description |
|---|---|
static class |
NumberPlaceholderCheck.ComparisonType |
| Constructor and Description |
|---|
NumberPlaceholderCheck(String placeholder,
double value,
NumberPlaceholderCheck.ComparisonType comparisonType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Interaction interaction,
org.bukkit.entity.Player player,
boolean primaryTrigger)
Performs the check for the given player in the given interaction.
|
public NumberPlaceholderCheck(String placeholder, double value, NumberPlaceholderCheck.ComparisonType comparisonType)
public boolean check(Interaction interaction, org.bukkit.entity.Player player, boolean primaryTrigger)
Checkcheck in interface Checkinteraction - the interactionplayer - the playerprimaryTrigger - whether the check trigger was "primary".
For actions on components this is true when the component
was in direct line of sight and false if overlapped by a different component.Copyright © 2021. All rights reserved.