Interface SimpleArgument<T>

All Superinterfaces:
ArgumentInf
All Known Subinterfaces:
MessageArgument, ResourceLocationArgument<T>, SimpleArgumentSuggestion<T>, TimeArgument, VecArgument

@NullMarked public interface SimpleArgument<T> extends ArgumentInf
  • Method Summary

    Modifier and Type
    Method
    Description
    getData(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name)
     

    Methods inherited from interface moe.caramel.daydream.brigadier.argument.ArgumentInf

    get
  • Method Details

    • getData

      T getData(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException