Class ItemArgument
java.lang.Object
com.zenith.command.brigadier.ItemArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<ItemData>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanstatic ItemDatagetItem(com.mojang.brigadier.context.CommandContext<CommandContext> context, String name) inthashCode()static ItemArgumentitem()parse(com.mojang.brigadier.StringReader reader) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
getExamples, listSuggestions, parse
-
Field Details
-
INVALID_ITEM_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_ITEM_EXCEPTION
-
-
Constructor Details
-
ItemArgument
public ItemArgument()
-
-
Method Details
-
item
-
parse
-
getItem
public static ItemData getItem(com.mojang.brigadier.context.CommandContext<CommandContext> context, String name) -
equals
-
canEqual
-
hashCode
-
toString
-