Package org.incendo.cloud.bukkit.data
Interface Selector.Single<V>
- Type Parameters:
V- value type
- All Superinterfaces:
Selector<V>
- All Known Subinterfaces:
SingleEntitySelector,SinglePlayerSelector
A specialized
Selector that can only return one value.- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.incendo.cloud.bukkit.data.Selector
Selector.Single<V> -
Method Summary
Methods inherited from interface org.incendo.cloud.bukkit.data.Selector
inputString
-
Method Details
-
values
Description copied from interface:SelectorGet the value of this selector. -
single
Get the single value from this selector.A successfully parsed
Selector.Singlemust match a value.- Returns:
- the value
-