public class ItemTypeArg extends AsbtractSenderArg<ItemType>
Modifier and Type | Class and Description |
---|---|
static class |
ItemTypeArg.InvalidItemTypeFormat |
string
Constructor and Description |
---|
ItemTypeArg(CommandsMessages messages,
String string) |
Modifier and Type | Method and Description |
---|---|
protected ItemType |
defaultFor(CommandSender sender) |
protected String |
missingPermOtherMessage(String permission) |
ItemType |
value()
Returns the parsed value.
|
valueOr, valueWithPermOr
valueOr
public ItemTypeArg(CommandsMessages messages, String string)
public ItemType value()
CommandArg
protected ItemType defaultFor(CommandSender sender)
defaultFor
in class AsbtractSenderArg<ItemType>
protected String missingPermOtherMessage(String permission)
missingPermOtherMessage
in class AsbtractSenderArg<ItemType>
Copyright © 2012. All Rights Reserved.