Port record-song command to fabric, ensure its functionality same with that on forge.
Instead of re-invent EnumArgument on fabric, two ad-hoc argument classes are added, like vanilla GameModeArgument.
No matter any approach we used, registering ArgumentTypeInfo is still needed.
Tested on fabric, including:
"/supplementaries record" -- complaint
"/supplementaries record start" -- complaint
"/supplementaries record start NOTE_BLOCKS BASS" -- start recording
"/supplementaries record start NOTE_BL 111" -- complaint "Source must be one of [NOTE_BLOCKS, SOUND_EVENTS], found NOTE_BL"
"/supplementaries record stop " -- stop recording
"/supplementaries record stop 661 0" -- stop recording
Not test on forge, can't get minecraft launched even before the change...
Port record-song command to fabric, ensure its functionality same with that on forge. Instead of re-invent EnumArgument on fabric, two ad-hoc argument classes are added, like vanilla GameModeArgument. No matter any approach we used, registering ArgumentTypeInfo is still needed.
Tested on fabric, including:
Not test on forge, can't get minecraft launched even before the change...