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
- Type:
- Config Key:
-
MAX_DISTANCE_TOGGLE- Config Key:
max-distance-toggle - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
MAX_DISTANCE- Maximum distance away from the entity to show hitboxes at
- Config Key:
max-distance - Values
- Type:
Integer - Default:
64 - Minimum:
1 - Maximum:
128
- Type:
-
HITBOX_PLAYER_SHOW- Config Key:
hitbox-player-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_PLAYER_LINE_WIDTH- Config Key:
hitbox-player-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_PLAYER_LINE_COLOR- Config Key:
hitbox-player-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_PLAYER_SHOW_HITTABLE_COLOR- Config Key:
hitbox-player-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_PLAYER_HITTABLE_COLOR- Config Key:
hitbox-player-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_PLAYER_ONLY_SHOW_HITTABLE- Only show the hitbox when the entity is within reach and under your crosshair
- Config Key:
hitbox-player-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
-
HITBOX_PLAYER_SHOW_DAMAGED_COLOR- Config Key:
hitbox-player-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_PLAYER_DAMAGED_COLOR- Config Key:
hitbox-player-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_PLAYER_LOOK_VECTOR- Config Key:
hitbox-player-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ITEM_SHOW- Config Key:
hitbox-item-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_ITEM_LINE_WIDTH- Config Key:
hitbox-item-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_ITEM_LINE_COLOR- Config Key:
hitbox-item-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_ITEM_SHOW_HITTABLE_COLOR- Config Key:
hitbox-item-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ITEM_HITTABLE_COLOR- Config Key:
hitbox-item-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_ITEM_ONLY_SHOW_HITTABLE- Config Key:
hitbox-item-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ITEM_SHOW_DAMAGED_COLOR- Config Key:
hitbox-item-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ITEM_DAMAGED_COLOR- Config Key:
hitbox-item-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_ITEM_LOOK_VECTOR- Config Key:
hitbox-item-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_EXP_ORB_SHOW- Config Key:
hitbox-exp-orb-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_EXP_ORB_LINE_WIDTH- Config Key:
hitbox-exp-orb-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_EXP_ORB_LINE_COLOR- Config Key:
hitbox-exp-orb-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_EXP_ORB_SHOW_HITTABLE_COLOR- Config Key:
hitbox-exp-orb-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_EXP_ORB_HITTABLE_COLOR- Config Key:
hitbox-exp-orb-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_EXP_ORB_ONLY_SHOW_HITTABLE- Config Key:
hitbox-exp-orb-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_EXP_ORB_SHOW_DAMAGED_COLOR- Config Key:
hitbox-exp-orb-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_EXP_ORB_DAMAGED_COLOR- Config Key:
hitbox-exp-orb-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_EXP_ORB_LOOK_VECTOR- Config Key:
hitbox-exp-orb-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ITEM_FRAME_SHOW- Config Key:
hitbox-item-frame-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_ITEM_FRAME_LINE_WIDTH- Config Key:
hitbox-item-frame-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_ITEM_FRAME_LINE_COLOR- Config Key:
hitbox-item-frame-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_ITEM_FRAME_SHOW_HITTABLE_COLOR- Config Key:
hitbox-item-frame-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ITEM_FRAME_HITTABLE_COLOR- Config Key:
hitbox-item-frame-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_ITEM_FRAME_ONLY_SHOW_HITTABLE- Config Key:
hitbox-item-frame-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ITEM_FRAME_SHOW_DAMAGED_COLOR- Config Key:
hitbox-item-frame-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ITEM_FRAME_DAMAGED_COLOR- Config Key:
hitbox-item-frame-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_ITEM_FRAME_LOOK_VECTOR- Config Key:
hitbox-item-frame-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_FIREWORK_SHOW- Config Key:
hitbox-firework-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_FIREWORK_LINE_WIDTH- Config Key:
hitbox-firework-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_FIREWORK_LINE_COLOR- Config Key:
hitbox-firework-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_FIREWORK_SHOW_HITTABLE_COLOR- Config Key:
hitbox-firework-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_FIREWORK_HITTABLE_COLOR- Config Key:
hitbox-firework-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_FIREWORK_ONLY_SHOW_HITTABLE- Config Key:
hitbox-firework-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_FIREWORK_SHOW_DAMAGED_COLOR- Config Key:
hitbox-firework-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_FIREWORK_DAMAGED_COLOR- Config Key:
hitbox-firework-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_FIREWORK_LOOK_VECTOR- Config Key:
hitbox-firework-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_WITHER_SKULL_SHOW- Config Key:
hitbox-wither-skull-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_WITHER_SKULL_LINE_WIDTH- Config Key:
hitbox-wither-skull-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_WITHER_SKULL_LINE_COLOR- Config Key:
hitbox-wither-skull-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_WITHER_SKULL_SHOW_HITTABLE_COLOR- Config Key:
hitbox-wither-skull-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_WITHER_SKULL_HITTABLE_COLOR- Config Key:
hitbox-wither-skull-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_WITHER_SKULL_ONLY_SHOW_HITTABLE- Config Key:
hitbox-wither-skull-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_WITHER_SKULL_SHOW_DAMAGED_COLOR- Config Key:
hitbox-wither-skull-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_WITHER_SKULL_DAMAGED_COLOR- Config Key:
hitbox-wither-skull-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_WITHER_SKULL_LOOK_VECTOR- Config Key:
hitbox-wither-skull-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_SNOWBALL_SHOW- Config Key:
hitbox-snowball-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_SNOWBALL_LINE_WIDTH- Config Key:
hitbox-snowball-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_SNOWBALL_LINE_COLOR- Config Key:
hitbox-snowball-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_SNOWBALL_SHOW_HITTABLE_COLOR- Config Key:
hitbox-snowball-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_SNOWBALL_HITTABLE_COLOR- Config Key:
hitbox-snowball-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_SNOWBALL_ONLY_SHOW_HITTABLE- Config Key:
hitbox-snowball-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_SNOWBALL_SHOW_DAMAGED_COLOR- Config Key:
hitbox-snowball-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_SNOWBALL_DAMAGED_COLOR- Config Key:
hitbox-snowball-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_SNOWBALL_LOOK_VECTOR- Config Key:
hitbox-snowball-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_FIREBALL_SHOW- Config Key:
hitbox-fireball-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_FIREBALL_LINE_WIDTH- Config Key:
hitbox-fireball-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_FIREBALL_LINE_COLOR- Config Key:
hitbox-fireball-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_FIREBALL_SHOW_HITTABLE_COLOR- Config Key:
hitbox-fireball-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_FIREBALL_HITTABLE_COLOR- Config Key:
hitbox-fireball-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_FIREBALL_ONLY_SHOW_HITTABLE- Config Key:
hitbox-fireball-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_FIREBALL_SHOW_DAMAGED_COLOR- Config Key:
hitbox-fireball-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_FIREBALL_DAMAGED_COLOR- Config Key:
hitbox-fireball-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_FIREBALL_LOOK_VECTOR- Config Key:
hitbox-fireball-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ARROW_SHOW- Config Key:
hitbox-arrow-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_ARROW_LINE_WIDTH- Config Key:
hitbox-arrow-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_ARROW_LINE_COLOR- Config Key:
hitbox-arrow-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_ARROW_SHOW_HITTABLE_COLOR- Config Key:
hitbox-arrow-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ARROW_HITTABLE_COLOR- Config Key:
hitbox-arrow-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_ARROW_ONLY_SHOW_HITTABLE- Config Key:
hitbox-arrow-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ARROW_SHOW_DAMAGED_COLOR- Config Key:
hitbox-arrow-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_ARROW_DAMAGED_COLOR- Config Key:
hitbox-arrow-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_ARROW_LOOK_VECTOR- Config Key:
hitbox-arrow-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_PROJECTILE_SHOW- Config Key:
hitbox-projectile-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_PROJECTILE_LINE_WIDTH- Config Key:
hitbox-projectile-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_PROJECTILE_LINE_COLOR- Config Key:
hitbox-projectile-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_PROJECTILE_SHOW_HITTABLE_COLOR- Config Key:
hitbox-projectile-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_PROJECTILE_HITTABLE_COLOR- Config Key:
hitbox-projectile-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_PROJECTILE_ONLY_SHOW_HITTABLE- Config Key:
hitbox-projectile-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_PROJECTILE_SHOW_DAMAGED_COLOR- Config Key:
hitbox-projectile-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_PROJECTILE_DAMAGED_COLOR- Config Key:
hitbox-projectile-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_PROJECTILE_LOOK_VECTOR- Config Key:
hitbox-projectile-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_MONSTER_SHOW- Config Key:
hitbox-monster-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_MONSTER_LINE_WIDTH- Config Key:
hitbox-monster-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_MONSTER_LINE_COLOR- Config Key:
hitbox-monster-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_MONSTER_SHOW_HITTABLE_COLOR- Config Key:
hitbox-monster-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_MONSTER_HITTABLE_COLOR- Config Key:
hitbox-monster-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_MONSTER_ONLY_SHOW_HITTABLE- Only show the hitbox when the entity is within reach and under your crosshair
- Config Key:
hitbox-monster-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
-
HITBOX_MONSTER_SHOW_DAMAGED_COLOR- Config Key:
hitbox-monster-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_MONSTER_DAMAGED_COLOR- Config Key:
hitbox-monster-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_MONSTER_LOOK_VECTOR- Config Key:
hitbox-monster-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_PASSIVE_SHOW- Config Key:
hitbox-passive-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_PASSIVE_LINE_WIDTH- Config Key:
hitbox-passive-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_PASSIVE_LINE_COLOR- Config Key:
hitbox-passive-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_PASSIVE_SHOW_HITTABLE_COLOR- Config Key:
hitbox-passive-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_PASSIVE_HITTABLE_COLOR- Config Key:
hitbox-passive-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_PASSIVE_ONLY_SHOW_HITTABLE- Only show the hitbox when the entity is within reach and under your crosshair
- Config Key:
hitbox-passive-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
-
HITBOX_PASSIVE_SHOW_DAMAGED_COLOR- Config Key:
hitbox-passive-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_PASSIVE_DAMAGED_COLOR- Config Key:
hitbox-passive-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_PASSIVE_LOOK_VECTOR- Config Key:
hitbox-passive-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_OTHER_SHOW- Config Key:
hitbox-other-show - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
HITBOX_OTHER_LINE_WIDTH- Config Key:
hitbox-other-line-width - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_OTHER_LINE_COLOR- Config Key:
hitbox-other-line-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_OTHER_SHOW_HITTABLE_COLOR- Config Key:
hitbox-other-show-hittable-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_OTHER_HITTABLE_COLOR- Config Key:
hitbox-other-hittable-color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
HITBOX_OTHER_ONLY_SHOW_HITTABLE- Config Key:
hitbox-other-only-show-hittable - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_OTHER_SHOW_DAMAGED_COLOR- Config Key:
hitbox-other-show-damaged-color - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
HITBOX_OTHER_DAMAGED_COLOR- Config Key:
hitbox-other-damaged-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
HITBOX_OTHER_LOOK_VECTOR- Config Key:
hitbox-other-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key: