Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Knockback Configuration

windcolor-dev edited this page Jun 21, 2022 · 3 revisions

Knockback configuration can be done in the file, or with the /kb command. You can copy and paste one of the presets in the file and start editing from there, just make sure to switch the current knockback profile to your new one. You can also create a profile with the "/kb" chat gui. You need op to do this currently, but a permission will be added soon.

Here are what the values of knockback do.

knockback-horizontal: The base value for horizontal knockback

knockback-vertical: The base value for vertical knockback

vertical-min: The minimum vertical knockback allowed

vertical-max: The maximum vertical knockback allowed

extra-horizontal: The multiplier of horizontal knockback when a player entity attacks (while sprinting)

extra-vertical: The multiplier of vertical knockback when a player entity attacks (while sprinting)

friction-horizontal: The value horizontal knockback is divided by before calculations (increasing this decreases knockback)

friction-vertical: The value vertical knockback is divided by before calculations (increasing this decreases knockback)

stop-sprint: If hits should stop sprinting, if enabled then players need to sprint reset to deal more knockback

|projectile|-horizontal: The replacement for "knockback-horizontal" for this projectile (you can use this to increase rod knockback)

|projectile|-vertical: The replacement for "knockback-vertical" for this projectile

wtap-extra-horizontal: The replacement for "extra-horizontal" when a player is on their first hit or after a sprint reset

wtap-extra-vertical: The replacement for "extra-vertical" when a player is on their first hit or after a sprint reset

add-horizontal: The value to add to horizontal knockback after calculations

add-vertical: The value to add to vertical knockback after calculations (this is done before checking "vertical-max/min")

Clone this wiki locally