Class SpellConditionArgument
java.lang.Object
com.binaris.wizardry.content.command.argument.SpellConditionArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<SpellCondition>
public class SpellConditionArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<SpellCondition>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpellConditiongetSpellCondition(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx, String name) parse(com.mojang.brigadier.StringReader reader) static SpellConditionArgumentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
getExamples, listSuggestions
-
Constructor Details
-
SpellConditionArgument
public SpellConditionArgument()
-
-
Method Details
-
spellCondition
-
getSpellCondition
public static SpellCondition getSpellCondition(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx, String name) -
parse
public SpellCondition parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<SpellCondition>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-