Apollo
Developers
Mods
UhcOverlay

UHC Overlay

Resize items that are commonly needed in UHC to make spotting them easier.

Integration

How to toggle the mod

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

Available options

  • ENABLED

    • Config Key: enabled
    • Values
      • Type: Boolean
      • Default: false
  • GOLD_INGOT_SCALE

    • Config Key: gold-ingot-scale
    • Values
      • Type: Float
      • Default: 2.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • GOLD_NUGGET_SCALE

    • Config Key: gold-nugget-scale
    • Values
      • Type: Float
      • Default: 2.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • GOLD_ORE_SCALE

    • Config Key: gold-ore-scale
    • Values
      • Type: Float
      • Default: 2.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • GOLD_APPLE_SCALE

    • Config Key: gold-apple-scale
    • Values
      • Type: Float
      • Default: 2.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • SKULL_SCALE

    • Config Key: skull-scale
    • Values
      • Type: Float
      • Default: 2.0F
      • Minimum: 1.0F
      • Maximum: 5.0F