Apollo
Developers
Mods
Armorstatus

Armor Status

Displays information about the armor you have equipped and the item you are holding on the HUD.

Integration

How to toggle the mod

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

Available options

  • ENABLED

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

    • Config Key: scale
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 0.5F
      • Maximum: 1.5F
  • MOVE_ARMOR_INDIVIDUALLY

    • Config Key: move-armor-individually
    • Values
      • Type: Boolean
      • Default: false
  • ITEM_NAME

    • Config Key: item-name
    • Values
      • Type: Boolean
      • Default: false
  • ITEM_COUNT

    • Config Key: item-count
    • Values
      • Type: Boolean
      • Default: true
  • SHOW_WHILE_TYPING

    • Config Key: show-while-typing
    • Values
      • Type: Boolean
      • Default: false
  • TEXT_SHADOW

    • Config Key: text-shadow
    • Values
      • Type: Boolean
      • Default: true
  • DAMAGE_OVERLAY

    • Config Key: damage-overlay
    • Values
      • Type: Boolean
      • Default: true
  • ITEM_DAMAGE

    • Config Key: item-damage
    • Values
      • Type: Boolean
      • Default: true
  • ARMOR_DAMAGE

    • Config Key: armor-damage
    • Values
      • Type: Boolean
      • Default: true
  • MAX_DAMAGE

    • Config Key: max-damage
    • Values
      • Type: Boolean
      • Default: false
  • STATIC_DAMAGE_COLORS

    • Config Key: static-damage-colors
    • Values
      • Type: Boolean
      • Default: false
  • NAME_TEXT_COLOR

    • Config Key: name-text-color
    • Values
      • Type: String
      • Default: #FFFFFFFF
  • HIGHEST_COLOR

    • Config Key: highest-color
    • Values
      • Type: String
      • Default: #FFFFFFFF
  • HIGH_COLOR

    • Config Key: high-color
    • Values
      • Type: String
      • Default: #FF55FF55
  • MEDIUM_COLOR

    • Config Key: medium-color
    • Values
      • Type: String
      • Default: #FFFFFF55
  • MEDIUM_LOW_COLOR

    • Config Key: medium-low-color
    • Values
      • Type: String
      • Default: #FFFFAA00
  • LOW_COLOR

    • Config Key: low-color
    • Values
      • Type: String
      • Default: #FFFF5555
  • LOWEST_COLOR

    • Config Key: lowest-color
    • Values
      • Type: String
      • Default: #FFAA0000