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:
-
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_PLAYER_SHOW
- Config Key:
hitbox-player-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_ITEM_SHOW
- Config Key:
hitbox-item-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_PROJECTILE_SHOW
- Config Key:
hitbox-projectile-show
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
HITBOX_MOB_LINE_WIDTH
- Config Key:
hitbox-mob-line-width
- Values
- Type:
Float
- Default:
1.0F
- Minimum:
1.0F
- Maximum:
5.0F
- Type:
- Config Key:
-
HITBOX_MOB_LINE_COLOR
- Config Key:
hitbox-mob-line-color
- Values
- Type:
String
- Default:
#FFFFFFFF
- Type:
- Config Key:
-
HITBOX_MOB_LOOK_VECTOR
- Config Key:
hitbox-mob-look-vector
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
HITBOX_MOB_SHOW
- Config Key:
hitbox-mob-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_EXP_ORB_SHOW
- Config Key:
hitbox-exp-orb-show
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key: