Crosshair
Replace the default Minecraft crosshair with a customizable crosshair.
Integration
How to toggle the mod
public void toggleCrosshairExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModCrosshair.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
SHOW_IN_F5- Config Key:
show-in-f5 - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key: