Grasscutter icon indicating copy to clipboard operation
Grasscutter copied to clipboard

feat: Brigadier and some commands for testing

Open hamusuke0323 opened this issue 1 year ago • 1 comments

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

hamusuke0323 avatar Sep 22 '23 01:09 hamusuke0323

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

KingRainbow44 avatar Nov 01 '23 01:11 KingRainbow44