Skip to Content

Action Bar

Allows you to move and scale Minecraft’s action bar.

Integration

How to toggle the mod

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

Available options

  • ENABLED

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

    • Config Key: scale
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 0.25F
      • Maximum: 5.0F
  • LOCK_TO_VANILLA_POSITION

    • Keeps the mod at the vanilla position and scale. It can’t be moved or scaled in the HUD editor while this is on.
    • Config Key: lock-to-vanilla-position
    • Values
      • Type: Boolean
      • Default: false