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_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_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_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_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_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_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_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_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_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_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_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_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_LOOK_VECTOR- Config Key:
hitbox-other-look-vector - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key: