Knockback Trainer
Train jump resets: how close your jump press lands to the tick you were hit.
Integration
How to toggle the mod
public void toggleKnockbackTrainerExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModKnockbackTrainer.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
TARGET_TICKS- Config Key:
target-ticks - Values
- Type:
Integer - Default:
0 - Minimum:
0 - Maximum:
6
- Type:
- Config Key:
-
WINDOW_TICKS- Config Key:
window-ticks - Values
- Type:
Integer - Default:
5 - Minimum:
0 - Maximum:
10
- Type:
- Config Key:
-
FALLING_HIT_SOUND- Config Key:
falling-hit-sound - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
FALLING_HIT_SOUND_VOLUME- Config Key:
falling-hit-sound-volume - Values
- Type:
Float - Default:
1.0F - Minimum:
0.0F - Maximum:
1.0F
- Type:
- Config Key: