Changelog
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);
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
ReleaseVersion number
1.2Loaders
Fabric
Game versions
1.16.1, 1.17.1Downloads
103Publication date
November 2, 2021 at 2:54 AMPublisher
RedLime
Owner