Grasscutter
Grasscutter copied to clipboard
feat: Brigadier and some commands for testing
Description
added Brigadier library. It is a command parser and dispatcher. Minecraft JE uses it too :) Why: writing command parser every time is troublesome lmao
Issues fixed by this PR
Type of changes
- [ ] Bug fix
- [x] New feature
- [ ] Enhancement
- [ ] Documentation
Checklist:
- [x] My code follows the style guidelines of this project
- [x] My pull request is unique and no other pull requests have been opened for these changes
- [x] I have read the Contributing note and Code of conduct
- [x] I am responsible for any copyright issues with my code if it occurs in the future.
https://github.com/Grasscutters/Grasscutter/assets/60880668/9e391fdb-280a-4ba1-81d6-3730009ed7d0
pr will probably have to wait for the next update; i do want to convert every command to brigadier at some point, or die trying