Apollo
Developers
Mods
Saturation

Saturation

Saturation HUD with AppleSkin features

Integration

How to toggle the mod

public void toggleSaturationExample(Player viewer, boolean value) {
    Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
    apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModSaturation.ENABLED, value));
}

Available options

  • ENABLED

    • Config Key: enabled
    • Values
      • Type: Boolean
      • Default: true
  • SHOW_SATURATION_OVERLAY

    • Config Key: show-saturation-overlay
    • Values
      • Type: Boolean
      • Default: true
  • SHOW_APPLESKIN_TOOLTIP

    • Config Key: show-appleskin-tooltip
    • Values
      • Type: Boolean
      • Default: true
  • SHOW_HELD_ITEM_HUNGER

    • Config Key: show-held-item-hunger
    • Values
      • Type: Boolean
      • Default: true
  • SHOW_HELD_ITEM_SATURATION

    • Config Key: show-held-item-saturation
    • Values
      • Type: Boolean
      • Default: true