Piston
Piston copied to clipboard
A generic command system, with tie-ins to many Minecraft platforms such as Bukkit, Forge, and Sponge.
Right now our `CommandException` can take in rich Components, but things like `UsageException` embed server-side translations in them. We should have an interface to extract a Component from an exception,...
The adventure was once started by @octylFractal . After some time I compressed the adventure with a piston and this is the result: * Updated the started adventure branch to...
Ala https://github.com/Mojang/brigadier/issues/108#issuecomment-1002234336 Brigadier has support for tooltips for suggestions.
https://gist.github.com/a7af9d6045adeed122f5400aae4be2ba
When using `variable = true` in a String argument, even when using `"quotes"` the whitespaces appear to be trimmed. Eg, /command " some padded text " comes up as `"...
Useful for CraftBook, currently using reflection for it :^)
Given a command signature: ``` public void cmd(@Arg(...) String fooBar) { } ``` It would be preferable for `fooBar` to be converted into ``, ``, or `` rather than ``...
Allow `ArgumentConverter` to specify a range of arguments for instance, for a coordinate parser, you could specify that `1 - 3` arguments should be tried. The parser can then trial...