# SPDX-FileCopyrightText: 2025 BombasterDS <deniskaporoshok@gmail.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 deltanedas <39013340+deltanedas@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

# Throws mobs back when you hit them
- type: entity
  parent: BaseEnchant
  id: EnchantKnockback
  name: Knockback
  components:
  - type: Enchant
    whitelist:
      components:
      - MeleeWeapon
    maxLevel: 2
  - type: KnockbackEnchant
  - type: MeleeThrowOnHit
    distance: 1
    speed: 1.5
