- Removed fabric life cycle API (unuse)
- Reworked timer display options
- Added 'timer show in options screen' option
- Some retime bugs fixed.
- Added version info in log files
- Renamed a log files name
- Block using with GhostRunner (cause by the bugs, I'll fix it later... maybe)
Added Timer Customize, and some bug fixed.
Added an Options API.
register option :
public static final SpeedRunOptions.OptionArgument<TimerPosition> TIMER_POS = new SpeedRunOptions.OptionArgument<>(new Identifier(SpeedRunIGT.MOD_ID, "timerpos"), TimerPosition.SAMPLE_ENUM) {
@Override
public TimerPosition valueFromString(String string) {
return TimerPosition.valueOf(string);
}
@Override
public String valueToString(TimerPosition value) {
return value.name();
}
}.register();
get/set option :
SpeedRunOptions.getOption(SpeedRunOptions.TIMER_POS);
SpeedRunOptions.setOption(SpeedRunOptions.TIMER_POS, TimerPosition.SAMPLE_ENUM);