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 Details

    • SpellConditionArgument

      public SpellConditionArgument()
  • Method Details

    • spellCondition

      public static SpellConditionArgument 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:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<SpellCondition>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException