Item Counter
Displays how many of the items you have selected are currently in your inventory, on the HUD.
Integration
How to toggle the mod
public void toggleItemCounterExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModItemCounter.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
SCALE
- Config Key:
scale
- Values
- Type:
Float
- Default:
1.0F
- Minimum:
0.5F
- Maximum:
1.5F
- Type:
- Config Key: