Apollo
Developers
Mods
Hitbox

Hitbox

Customize the hitbox displayed in F3+B

Integration

How to toggle the mod

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

Available options

  • ENABLED

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

    • Config Key: hitbox-player-line-width
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • HITBOX_PLAYER_LINE_COLOR

    • Config Key: hitbox-player-line-color
    • Values
      • Type: String
      • Default: #FFFFFFFF
  • HITBOX_PLAYER_LOOK_VECTOR

    • Config Key: hitbox-player-look-vector
    • Values
      • Type: Boolean
      • Default: false
  • HITBOX_PLAYER_SHOW

    • Config Key: hitbox-player-show
    • Values
      • Type: Boolean
      • Default: true
  • HITBOX_ITEM_LINE_WIDTH

    • Config Key: hitbox-item-line-width
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • HITBOX_ITEM_LINE_COLOR

    • Config Key: hitbox-item-line-color
    • Values
      • Type: String
      • Default: #FFFFFFFF
  • HITBOX_ITEM_LOOK_VECTOR

    • Config Key: hitbox-item-look-vector
    • Values
      • Type: Boolean
      • Default: false
  • HITBOX_ITEM_SHOW

    • Config Key: hitbox-item-show
    • Values
      • Type: Boolean
      • Default: true
  • HITBOX_PROJECTILE_LINE_WIDTH

    • Config Key: hitbox-projectile-line-width
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • HITBOX_PROJECTILE_LINE_COLOR

    • Config Key: hitbox-projectile-line-color
    • Values
      • Type: String
      • Default: #FFFFFFFF
  • HITBOX_PROJECTILE_LOOK_VECTOR

    • Config Key: hitbox-projectile-look-vector
    • Values
      • Type: Boolean
      • Default: false
  • HITBOX_PROJECTILE_SHOW

    • Config Key: hitbox-projectile-show
    • Values
      • Type: Boolean
      • Default: true
  • HITBOX_MOB_LINE_WIDTH

    • Config Key: hitbox-mob-line-width
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • HITBOX_MOB_LINE_COLOR

    • Config Key: hitbox-mob-line-color
    • Values
      • Type: String
      • Default: #FFFFFFFF
  • HITBOX_MOB_LOOK_VECTOR

    • Config Key: hitbox-mob-look-vector
    • Values
      • Type: Boolean
      • Default: false
  • HITBOX_MOB_SHOW

    • Config Key: hitbox-mob-show
    • Values
      • Type: Boolean
      • Default: true
  • HITBOX_EXP_ORB_LINE_WIDTH

    • Config Key: hitbox-exp-orb-line-width
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • HITBOX_EXP_ORB_LINE_COLOR

    • Config Key: hitbox-exp-orb-line-color
    • Values
      • Type: String
      • Default: #FFFFFFFF
  • HITBOX_EXP_ORB_LOOK_VECTOR

    • Config Key: hitbox-exp-orb-look-vector
    • Values
      • Type: Boolean
      • Default: false
  • HITBOX_EXP_ORB_SHOW

    • Config Key: hitbox-exp-orb-show
    • Values
      • Type: Boolean
      • Default: true