Class KeyedWorldParser<C>

java.lang.Object
org.incendo.cloud.paper.parser.KeyedWorldParser<C>
Type Parameters:
C - Command sender type
All Implemented Interfaces:
ArgumentParser<C,World>, SuggestionProvider<C>, SuggestionProviderHolder<C>

public final class KeyedWorldParser<C> extends Object implements ArgumentParser<C,World>, SuggestionProvider<C>
Parses Bukkit worlds from a NamespacedKey.

Falls back to parsing by name, using the WorldParser on server implementations where World does not implement Keyed.

Since:
1.6.0