跳到正文

Additional Abilities

作者:timeslowly

New abilities for Dragon Survival's dragons, plus reusable ability components — effects, targeting, charge tiers and triggers — for add-on and datapack authors.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Additional Abilities

Minecraft 1.21.1 · NeoForge · Requires Dragon Survival 2.0.71+ and (optional)Wing Kirin 3.3.0+

Additional Abilities is a third-party add-on for Dragon Survival. It adds two kinds of things:

  1. New abilities for existing dragons — eight abilities spread across the Sea Dragon, the Cave Dragon, the Forest Dragon and the Wing Kirin;
  2. Reusable ability components — entity effects, block effects, target selectors, activation types and triggers that datapack and add-on authors can call straight from their own ability JSON.

Unlike most Dragon Survival add-ons, this one does not add a new species: it gives existing dragons more to do, and hands other authors better building blocks to do the same.

All ideas are original. Any resemblance to existing work is coincidental.

Upgrading from an earlier release? 2.0 is a ground-up rewrite. Please read the changelog on the Files tab before updating.


Requirements and installation

Minecraft 1.21.1
Mod loader NeoForge 21.1.248 or newer
Dragon Survival 2.0.71 or newer — required
Wing Kirin 3.3.0 or newer — optional
  • Put the jar in your mods folder alongside Dragon Survival (and Wing Kirin).
  • Both the client and the server must have this mod, and the same version of it. The mod uses custom network packets; if the versions do not match, the connection is refused.
  • The bundled abilities are attached to their dragon species by default — nothing to configure.
  • Modpacks are welcome. No permission needed, just include it.

New abilities

Dragon Type Ability What it does
Sea Dragon Active Extinguish Breath A cone of mist that puts out fire and soul fire, dowses campfires and soul campfires, and grants Fire Resistance to everything it touches — including burning allies. Cannot be used while your eyes are in lava.
Sea Dragon Active Lightning Domain Scatters your inner “Thunderling Force” into a 30-second domain at your feet. Enemies inside are crushed by double gravity, take double damage from electric sources and have a 30% chance to be grounded; you and your allies get Strength, Speed and Haste plus armour-piercing attacks. Cannot be used while your eyes are in lava.
Cave Dragon Active Smoke Breath A very fast (5-tick cast) cone of smoke: blinds enemies for 10 seconds and deals light fire damage. Disabled underwater and in rain.
Cave Dragon Passive Piercing Eye Full immunity to Blindness — but not to Darkness.
Forest Dragon Active Natural Allies The greenery fights for you: plant and wood blocks glow as a telegraph while the cast runs, then every non-allied creature standing on grass, wood or dirt takes percentage damage, is left weakened and barely able to move, and takes double damage from forest dragon magic. Can only be cast while you yourself are standing on such a block.
Forest Dragon Passive Photorepair Photosynthesis, dragon-style: while you are outdoors, in daylight and out of the rain, your armour and claws slowly repair themselves. Reserves 1 mana; its cooldown shortens as you grow.
Wing Kirin Active Explosion Arrow Fires three explosive arrows at once. Long cooldown; unlocked through the “Return to Sender” advancement.
Wing Kirin Active Fire Ring Plants a ring of fire at your feet. The instant it forms, you and nearby allies are healed and briefly made invulnerable while enemies are knocked out of the ring; for the next 20 seconds allies inside gain a continuous buff, while enemies are set alight, slowed and stripped of their own buffs. Its radius grows with ability level, and it can only be cast on the ground, never in water or in rain.
Wing Kirin Passive Entity Marker Marks the creature you are looking at (bound to left click by default), making it glow so you can see it through grass, darkness and walls.

Breath Constrictor (enchantment)

The Breath Constrictor turns a dragon breath’s selection volume from an axis-aligned box into a beam that follows your line of sight — a narrower cross-section, a longer reach, and it hits exactly where you aim.

  • Enchantment: additional_abilities:dragon_breath_restrictor — helmet enchantment, 4 levels, +0.15 to the attribute per level (+0.6 at level 4). Available from the enchanting table and from librarians.
  • Attribute: additional_abilities:dragon_breath_restriction — a percentage attribute, registered on players only, default 0, capped at 0.9.

Every number — per-level amount, cost curve, weight — is written in the enchantment JSON and can be tuned by datapacks.

With the restriction active, press F3+B to see two boxes: Dragon Survival’s red box is the broad-phase range (it grows noticeably when you aim diagonally), while the magenta beam added by this mod is the actual selection volume.


Reusable components

Everything below is available to your own abilities, datapacks and add-ons — no permission required. Each entry has a runnable test_*.json example shipped in the jar.

Entity effects

Id What it does
additional_abilities:damage_reflection Reflects a share of damage taken back at enemies around you
additional_abilities:percentaged_damage Deals damage as a percentage of the target’s current or maximum health
additional_abilities:simple_screen_vision Gives another player a camera shake, a screen blur or an edge mask, at a chosen strength
additional_abilities:enchantment_bonus Grants the chosen enchantments to the items the target holds or wears, for as long as the effect lasts
additional_abilities:durability Adds to, subtracts from or sets the durability of the items in the target’s chosen slots

Block effects

Id What it does
additional_abilities:block_quake Makes the selected blocks hop and settle back (visual only)
additional_abilities:extinguish Puts out fire, candles and campfires — the mirror image of Dragon Survival’s fire effect
additional_abilities:glow Makes selected blocks glow, with a configurable colour, opacity and duration; visible to every player in range

Target selectors

Id What it does
additional_abilities:anti_dragon_breath A dragon breath cone that extends behind the caster
additional_abilities:annulus A ring — a disc with the inner circle hollowed out
additional_abilities:domain A domain: a persistent area left at the casting spot that keeps acting on an interval, instead of the one-shot area

Activation types

Id What it does
additional_abilities:charged Hold to charge, release to fire at the tier you reached
additional_abilities:optional_charged The same, but you pick the release tier with the mouse wheel while charging

Triggers

Id What it does
additional_abilities:on_block_placed Fires when a block is placed — the mirror of on_block_break
additional_abilities:on_item_consumed Fires when an item is consumed (shaped after vanilla consume_item)
additional_abilities:on_ability_cast Fires after an active ability’s cast settles, scoped with abilities

Bundled damage type

Id Display name Death message key
additional_abilities:counter_shock Counter Shock death.attack.additional_abilities.counter_shock
forest_dragon:natural_force Natural Force death.attack.forest_dragon.natural_force

Commands

Command Purpose
/additional-abilities simple-screen-vision clear <targets> Clear screen vision from the targeted players
/additional-abilities domain clear <targets> Clear the domains left behind by the targeted players
/additional-abilities block-glow clear <targets> Clear the block glow caused by the targeted players
/dragon-ability query <target> <ability> current_charged_level Query the charge tier (appended entry)
/dragon-ability query <target> <ability> current_selected_level Query the wheel-picked release tier (appended entry)

Bundled datapack: Innovative WingKirin’s Abilities

Ships inside the jar, off by default. Enable it from the world’s datapack screen:

  • Reworks some existing Wing Kirin abilities using this mod’s custom components.

After enabling or disabling it, leave the world and re-enter.


Client options

The client config file includes:

  • Charging HUD — where the charge indicator sits on screen, and its sound cue;
  • Block glow — how far away glowing blocks remain visible.

Changes take effect immediately; no restart needed.


Known limitations

  • Built and tested for Minecraft 1.21.1 on NeoForge only.
  • Client and server must run the same version of this mod (custom packets).
  • Enabling or disabling the bundled datapack requires leaving and re-entering the world.
  • The jar also contains a set of test_* abilities used during development. They are not attached to any species and must be granted manually — you can safely ignore them.
  • Fire Ring and the other datapack abilities require Wing Kirin.

Support

  • Bug reports, suggestions and pull requests: GitHub
  • Full documentation — every component, field by field, in English and Chinese: documentation index (中文版在同一页面的 #lang-zh)
  • Comments on this page are welcome too.

License and credits

Released under the Apache License 2.0 — the full text ships inside the jar (META-INF/LICENSE) and in the repository root.

You may use, modify and redistribute this mod — modpacks, commercial servers and closed-source projects included — and call the custom component interfaces it provides (entity_effect / block_effect / target_type / activation_type / trigger_type) from your own abilities or add-ons. No permission required.

You must keep the copyright notice, the LICENSE and the NOTICE files, and state which files you changed.

Porting and redistribution

The following is a community convention, not a license term (Apache-2.0 itself does not require attribution), but we ask you to honour it:

  • Porting to another Minecraft version, loader or platform is allowed as long as you credit the original author timeslowy prominently on the project page and link back to the original post;
  • Please do not publish derivative versions under this mod’s name or icon, to avoid confusion with the official release;
  • If all you want is to include this mod in a modpack, go ahead.

About Dragon Survival

  • This mod is a third-party add-on for Dragon Survival. It is not affiliated with, sponsored by, or endorsed by that project or its author, Black Aures.
  • This mod contains no code, texture, model, sound or data file from Dragon Survival; Dragon Survival is referenced only as an external, separately distributed dependency. Assets this mod places under the dragonsurvival: namespace are original — that path is simply where Dragon Survival requires ability icons to live.
  • “Dragon Survival” and its related names, icons and assets belong to their respective owner.

常见问题

Additional Abilities 支持哪些 Minecraft 版本?

Additional Abilities 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Additional Abilities 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

timeslowly 的其他作品

查看全部 →