Time Changer
Customize the current time of day to a fixed position.
Integration
How to toggle the mod
public void toggleTimeChangerExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModTimeChanger.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
TIME_CHANGER_TIME
- Config Key:
time-changer-time
- Values
- Type:
Integer
- Default:
-12000
- Minimum:
-18000
- Maximum:
-6000
- Type:
- Config Key:
-
HORIZON_YLEVEL
- Config Key:
horizon-y-level
- Values
- Type:
Integer
- Default:
63
- Minimum:
0
- Maximum:
63
- Type:
- Config Key:
-
USE_REAL_TIME
- Config Key:
use-real-time
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key: