Перейти к содержимому

Fightzone

A scriptable mod to control damage and death using a accessible scripting language. Using JEXL and fabric events to allow or deny damage on a scriptable basis.

Fabric
Загрузчики
Fabric
Скачиваний на Modrinth
69
Подписчиков на Modrinth
0
версия
1
Обновлён
29 июля 202629 июл.
Опубликован
в 2026
Fightzone configuration — A sample configuration to protect wolves and mannequins from damage and death · свайп

Коротко о моде

Работает на Fabric
Для Minecraft 26.2
Ставится только на сервер; игрокам ставить не нужно
Последняя версия — 1.0.0 от 29 июля 2026
Лицензия GPL-3.0-only — бесплатно
Где нужен
В игрене нуженНа сервереобязателен

Ставится только на сервер; игрокам ставить не нужно

Версии игры26.2
Перевода пока нет — показываем оригинал на английском

Fightzone

A JEXL scripting mod to determine how entities take damage. Using a script to match the condition and an action for how to apply.

Configuration

enabled: true # Controls if scripts are evaluated at all.
saveEnabled: false # Controls config file saving. Useful if you want to keep the config pretty
scripts: # A script has 3 parts
  - action: DENY # Must be any of `ALLOW`, `DENY`, `PASS`. Case-sensitive
    name: Player protection # A name to locate quickly
    # Every script element must start with a `!script`. This makes the element a jexl script
    # The YAML formatting style should not matter. Below is a literal block scalar, this is the easiest to use. 
    script: !script |
      target == 'minecraft:player'

  - action: DENY
    name: Wolf protection
    # If an attacker is a player and the target is a wolf, the damage is blocked
    script: !script |
      (attacker != null && attacker == 'minecraft:player' ) && target == 'minecraft:wolf'

Variable List

target
  • Type: string
  • Nullable: false
  • Examples

    • minecraft:player
    • minecraft:wolf
    • othermod:creature

The identifier for the entity taking damage.

amount
  • Type: float
  • Nullable: false
  • Examples:

    • 0.0
    • 1.0
    • 0.5

The amount of damage applying to the entity.

damage_source
  • Type: string
  • Nullable: true
  • Examples:

    • minecraft:arrow
    • minecraft:campfire
    • othermod:magic

The identifier for the damage type being applied.

attacker
  • Type: string
  • Nullable: true
  • Examples:

    • null
    • minecraft:player

The identifier for the attacking entity, is usually null when it's environmental damage like fire.

event
  • Type: string
  • Nullable: false
  • Examples:

    • death
    • damage

A helper to differentiate between a death or damage event.

Частые вопросы

Как установить Fightzone?

Установите Fabric под свою версию Minecraft, скачайте Fightzone под ту же версию и загрузчик, положите файл в папку mods и запустите игру с профилем загрузчика.

Для каких версий Minecraft есть Fightzone?

У Fightzone есть сборки для Minecraft 26.2.

Нужен ли Fightzone на сервере?

Ставится только на сервер; игрокам ставить не нужно

Лицензия и источник
GNU General Public License v3.0 onlyможно использовать и распространять; изменённые версии — под той же лицензией и с исходным кодом
Оригинал — Modrinth↗Файлы — без изменений, проверены по SHA-512Это ваш мод? Правообладателям

Сайт использует cookie: необходимые — для входа и темы, а также счётчики посещений Яндекс Метрика и LiveInternet — по ним мы видим, как пользуются сайтом. Рекламных cookie у нас нет. Подробнее