Class CommandHelper

java.lang.Object
dev.upcraft.sparkweave.api.command.CommandHelper

public class CommandHelper extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>
    net.minecraft.commands.synchronization.ArgumentTypeInfo<A,T>
    createArgumentInfo(Class<A> clazz, net.minecraft.commands.synchronization.ArgumentTypeInfo<A,T> info)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • IO_EXCEPTION

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType IO_EXCEPTION
  • Constructor Details

    • CommandHelper

      public CommandHelper()
  • Method Details

    • createArgumentInfo

      public static <A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>> net.minecraft.commands.synchronization.ArgumentTypeInfo<A,T> createArgumentInfo(Class<A> clazz, net.minecraft.commands.synchronization.ArgumentTypeInfo<A,T> info)