Weather Changer
Customize the current weather.
Integration
How to toggle the mod
public void toggleWeatherChangerExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModWeatherChanger.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
RAIN_STRENGTH- Config Key:
rain-strength - Values
- Type:
Float - Default:
1.0F - Minimum:
0.0F - Maximum:
1.0F
- Type:
- Config Key:
-
RAIN_COLOR- Augment the rain/snow color
- Config Key:
rain-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type: