Class RocketCommands

java.lang.Object
net.rocketpowered.connector.commands.RocketCommands

public class RocketCommands extends Object
  • Field Summary

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Predicate<net.minecraft.commands.CommandSourceStack>
    hasPermissions(long permissions)
     
    static void
    register(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher, net.minecraft.commands.Commands.CommandSelection selection)
     

    Methods inherited from class java.lang.Object

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

    • ROCKET_UNAVAILABLE_ERROR

      public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ROCKET_UNAVAILABLE_ERROR
  • Constructor Details

    • RocketCommands

      public RocketCommands()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher, net.minecraft.commands.Commands.CommandSelection selection)
    • hasPermissions

      public static Predicate<net.minecraft.commands.CommandSourceStack> hasPermissions(long permissions)