|
Hopperlib
|
Public Member Functions | |
| HopperListCommand (String name, List< T > objectList, String objectName) | |
| Public Member Functions inherited from cc.mrcl.hopperlib.Command.HopperCommand< P > | |
| HopperCommand (String name) | |
| boolean | onCommand ( @NotNull CommandSender commandSender, @NotNull Command command, @NotNull String s, String[] strings) |
| HopperCommand< T > | register () |
| void | unregister () |
| void | setReflectCommand (ReflectCommand reflectCommand) |
| ReflectCommand | getReflectCommand () |
| void | addSubcommand (HopperCommand< T > carthageCommand) |
| void | findSubcommand (int index) |
| List< String > | getPermissions () |
| String | getRootPermission () |
| String | getFullRootPermission () |
| String[] | getArgs () |
| CommandSender | getCommandSender () |
| String | getName () |
| List< String > | getAliases () |
| String | getDescription () |
| List< HopperCommand< T > > | getSubcommands () |
| HopperCommand< T > | getSuperCommand () |
| Command | getBukkitCommand () |
| T | getPlugin () |
| void | checkPermission (CommandSender sender, boolean strict) |
| String | getArgumentDescription () |
| String | getUsage () |
| List< String > | onTabComplete ( @NotNull CommandSender sender, @NotNull Command command, @NotNull String alias, String[] args) |
Protected Member Functions | |
| void | doCommand () |
| Protected Member Functions inherited from cc.mrcl.hopperlib.Command.HopperCommand< P > | |
| abstract void | doCommand () |
| void | addAlias (String s) |
| void | error (String message, String debugMessage) throws CommandException |
| void | permissionError (List< String > permissions) |
| void | argumentError (String message) |
| void | sendSuccess (String message) |
| void | sendFailure (String message) |
| void | sendInfo (String message) |
| void | sendMessage (String message) |
| void | sendColoredComponent (String message, TextColor color) |
| void | sendComponent (Component component) |
| abstract String | getGlobalRootPermission () |
| String | getNamespace () |
| void | setDescription (String description) |
| void | setArgumentDescription (String argumentDescription) |
| void | setSuperCommand (HopperCommand< T > superCommand) |
| int | checkArgLength (int min, int max) |
| int | getArgsLength () |
| Player | tryGetPlayerOrSelf (int index) |
| Player | tryGetPlayer () |
| int | tryGetInt (int index) |
| boolean | tryGetBoolean (int index) |
| Material | tryGetMaterial (int index) |
| String | tryGetString (int index) |
| double | tryGetDouble (int index) |
| float | tryGetFloat (int index) |
| BlockFace | tryGetOrientation (int index) |
| Location | tryGetSenderLocation () |
| Location | tryGetLocation (int indexX, int indexY, int indexZ) |
| World | tryGetSenderWorld () |
| World | tryGetWorld (int index) |
| GameParameter<?> | tryGetGameParameter (HopperConfigFile configManager, int index) |
| FeatureFlag | tryGetFeatureFlag (HopperConfigFile configManager, int index) |
| void | setRootPermission (String rootPermission) |
| void | setSkipPermissionCheck (boolean skipPermissionCheck) |
| void | setCompleterSubargumentIndex (int completerSubargumentIndex) |
| void | addTabCompleterArguments (int index, String... arguments) |
| List< String > | autoCompletePlayerNames () |
| List< String > | autoCompleteWorlds () |
| List< String > | autoCompleteBoolean () |
| List< String > | autoCompleteYawOrientations () |
| List< String > | autoCompletePages (List<?> list) |
| List< String > | autoCompleteRange (int initial, int bound) |
| Block | getTabCompletedBlock (TabCompleterContext context) |
| List< String > | autoCompleteLookX (TabCompleterContext context) |
| List< String > | autoCompleteLookY (TabCompleterContext context) |
| List< String > | autoCompleteLookZ (TabCompleterContext context) |
| List< String > | autoCompleteGameParameters (HopperConfigFile configManager) |
| List< String > | autoCompleteFeatureFlags (HopperConfigFile configManager) |
| SelectionListener | tryRegisterSelectionListener (SelectionListener listener) |
| SelectionListener | tryRegisterBlockSelectionListener (Consumer< Block > operation) |
| SelectionListener | tryRegisterEntitySelectionListener (Consumer< Entity > operation) |
Additional Inherited Members | |
| Protected Attributes inherited from cc.mrcl.hopperlib.Command.HopperCommand< P > | |
| T | plugin |