Skip to content

Improvements, CLI and client side syntax check

Moritz Zwerger requested to merge development into master

This MR adds an interactive (with auto completion) command line interface. Also it adds the client side command syntax check, that I left out in !9 (merged).

I thought this is a rather small feature, so I started in development. Later I realized, that this format is immense and I should have created another branch. Sorry for that :).

This format is a absolute overkill, see here: https://wiki.vg/Command_Data and https://minecraft.gamepedia.com/Commands

ToDo:

  • All entity parsers
  • Remove DummyParser and create a parser for all formats (total of 44). 4 still missing
  • Allow Java 11 (or even 8)
  • Minecraft Assets for all versions (some things changed between versions!)

Done:

  • Parse packet "DeclareCommands"
  • Basic structure for checking if command is valid and if not show detailed exception
  • Add Kotlin support
  • Code quality improvements
  • Refactoring
  • Memory and performance improvements
  • Support for 20w49a and 20w51a
  • Performance Improvements
  • NonBlockingSocketNetwork handler
  • Major GUI Improvements: 70a85d89
  • Basics for Microsoft accounts: 9adb1868
  • CLI with jline3: e0aebf70

Closes #1 (closed)

Edited by Moritz Zwerger

Merge request reports