Releases: DatAsianBoi123/CommandCore
Releases · DatAsianBoi123/CommandCore
v2.1.0
Breaking Changes
- Class
command.CommandSourcegot moved tocommand.source.CommandSource
New features
- Created many new argument types
WORLD- a loaded worldENTITY- any entityLIVING_ENTITY- any living entitySPAWNABLE_ENTITY- any entity that is not a playerLOOT_TABLE- a loot table
- Created 2 new command sources
- Locatable - any command sender that can be located, like an entity or a command block
- Command block - a command block
Improvements
- Greatly improved error messages
Old error:
New error:
CommandCore#createSourceis now an actual factory method
Bug fixes
- Fixed bug with commands without descriptions
- Gave the created root command a description if the root command isn't in your
plugin.yml
v2.0.0
Full Changelog
ArgumentType's now return aResultwhen parsingCommandNodes's now return aResultwhen executing- Changed how arguments are read by using an
Argumentsclass - Created an
InitOptionsclass that's used when initializing CommandCore - Created an
ArgumentReaderinterface that allows arguments to contain multiple spaces - Removed
CustomArgumentTypeto force users to create separate classes for eachArgumentType - Renamed Impl classes
- Removed the source generic type for all
CommandNode's - Added support for command aliases
- Created custom
TabCompleteclass that is returns when tab completing - Removed
CommandOutputand usedResultinstead - Separated the command generated by a
CommandBuilderinto its own class - Created require methods that all
CommandLinks can use - Created a
CommandSourceclass that can be used to get a command's sender - Fixed many bugs
- Cleaned up lots of code and created checks for almost everything
v1.0.2
Added javadocs, and fixed some bugs with tabcompletions
v1.0.1
Fixed a bug that disallowed users to create a custom argument type.
v1.0.0
Initial Release

