public class WorldArg extends AbstractSenderMatchingArg<World>
Modifier and Type | Class and Description |
---|---|
static class |
WorldArg.NoSuchWorld |
string
Constructor and Description |
---|
WorldArg(CommandsMessages messages,
String string) |
Modifier and Type | Method and Description |
---|---|
protected World |
defaultFor(CommandSender sender) |
List<World> |
match()
Returns all values which match the argument.
|
protected String |
missingPermOtherMessage(String permission) |
World |
value()
Returns the parsed value.
|
matchOr, matchOr, matchOr, matchWithPermOr
valueOr, valueWithPermOr
valueOr
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
valueOr, valueWithPermOr
public WorldArg(CommandsMessages messages, String string)
public World value()
CommandArg
protected World defaultFor(CommandSender sender)
defaultFor
in class AsbtractSenderArg<World>
protected String missingPermOtherMessage(String permission)
missingPermOtherMessage
in class AsbtractSenderArg<World>
public List<World> match()
MatchingArg
Copyright © 2012. All Rights Reserved.