public final class WorldParameterType extends java.lang.Object implements revxrsal.commands.parameter.ParameterType<BukkitCommandActor,org.bukkit.World>
World types
If the player inputs me or self or mine, the parser will
return the executing player's world (or give an error if the sender is not a player)
| Constructor and Description |
|---|
WorldParameterType() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull revxrsal.commands.autocomplete.SuggestionProvider<BukkitCommandActor> |
defaultSuggestions() |
org.bukkit.World |
parse(@NotNull revxrsal.commands.stream.MutableStringStream input,
@NotNull revxrsal.commands.node.ExecutionContext<BukkitCommandActor> context) |
public org.bukkit.World parse(@NotNull
@NotNull revxrsal.commands.stream.MutableStringStream input,
@NotNull
@NotNull revxrsal.commands.node.ExecutionContext<BukkitCommandActor> context)
parse in interface revxrsal.commands.parameter.ParameterType<BukkitCommandActor,org.bukkit.World>@NotNull public @NotNull revxrsal.commands.autocomplete.SuggestionProvider<BukkitCommandActor> defaultSuggestions()
defaultSuggestions in interface revxrsal.commands.parameter.ParameterType<BukkitCommandActor,org.bukkit.World>