C
- The configuration type@CatalogedBy(value=Triggers.class) public interface Trigger<C extends FilteredTriggerConfiguration> extends CatalogType
AdvancementCriterion
.Modifier and Type | Interface and Description |
---|---|
static interface |
Trigger.Builder<C extends FilteredTriggerConfiguration>
A builder to create
Trigger s. |
Modifier and Type | Method and Description |
---|---|
static Trigger.Builder<?> |
builder()
Creates a new
Trigger.Builder which can be used to create
a Trigger . |
Class<C> |
getConfigurationType()
Gets the type of the used
FilteredTriggerConfiguration . |
void |
trigger()
|
void |
trigger(Iterable<Player> players)
|
void |
trigger(Player player)
|
getId, getName
static Trigger.Builder<?> builder()
Trigger.Builder
which can be used to create
a Trigger
.Class<C> getConfigurationType()
FilteredTriggerConfiguration
.void trigger()
void trigger(Player player)
player
- The player to trigger for