跳到正文

SlashExpansion

作者:lisheng233

SlashExpansion - Adds some new Special Attacks (SA) to SlashBlade: Resharped (1.20.1)

收藏

截图

介绍

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

SlashExpansion is an add-on mod for SlashBlade: Resharped, adding 12 brand-new Special Attacks (SAs) and 12 brand-new Special Effects (SEs).

The mod adds no new blades — it focuses purely on enriching the skill system. Every SA scales off the blade you are currently holding, so damage grows with your gear instead of falling off late game. Each SA also plays a multi-stage timeline animation (charge → slash → impact → aftermath) rather than a single particle burst.

Everything is configurable: damage numbers, which chests drop which SA, and the crafting recipe of every SE.


📦 Supported versions

Minecraft Loader SlashBlade: Resharped Mod version
1.20.1 Forge 47.x 1.5.0+ 2.0
1.21.1 NeoForge 21.1.249+ 2.1.9-1.21.1 2.0

Both builds contain the same 12 SAs, 12 SEs and visual effects. Install on both client and server.


✨ New Special Attacks

SA Name Effect Damage Found in
Wan Jian Gui Zong Summons 10–256 phantom blades from the sky; count scales with your XP level 80% Ancient City (10%), Nether Fortress (8%)
Senbonzakura Cherry blossom blade ring; 4–6 blades per target, piercing 120% Ancient City (20%)
Rift Slash Dash forward + 8-direction blade wave 180% End Ship / End City (25%)
Frost Domain Freezes enemies in a 20-block radius; Slowness X, Weakness II, Mining Fatigue IV 80% Ancient City (15%)
Inferno Ground-shattering flame eruption + 12s burning; +50% against Nether mobs 100% + burn Bastion Treasure (15%)
Zhan Tian Ba Jian Shu Massive vertical energy slash, travels 64 blocks, ignores obstacles 150% Ancient City (10%), End City (12%)
Jian Dang Ba Huang Massive horizontal energy slash, travels 64 blocks, ignores obstacles 150% Ancient City (10%), End City (12%)
Geng Jin Jian Jue 1–100 golden phantom blades (count tied to your Refine level), ignores armor 160% Ancient City (8%), Bastion Treasure (10%)
Qi Sha Jian Jie Domain deals 7 sequential hits, cycling through 7 damage types; range scales with your kill count 100% × 7 Ancient City (5%), Nether Fortress (6%)
Blood Moon Slash Consumes 30% of your current health; deals base damage plus health converted into armor-ignoring damage (scales with Refine) Base + converted Nether Fortress (10%)
Thor’s Wrath Calls down 7 lightning bolts on random enemies within 20 blocks; each deals 120% damage and 3s paralysis 120% × 7 Bastion Treasure (12%)
Immovable King Immune to all damage for 3s while rooted, then deals 200% damage and knockback in a 10-block radius 200% Bastion Treasure (8%)

Damage Calculation

All SAs share the same base damage formula:

Base Damage = max(10.0, Blade Base Damage + Refine×0.5 + Power Enchantment Level×2.0 + Player's Attack)

The base is then multiplied by each SA’s damage multiplier, keeping skills relevant as your gear grows. The lower bound, the Refine and Power bonuses, and every SA multiplier are configurable.

Thor’s Wrath lightning is visual only by default (visualOnly = true) — it does not create vanilla lightning damage or fire.

Rift Slash resolves each of its 8 blades at 180%, so a full hit is 8 × 180%. Tune damageMultiplier or bladeCount if that is too strong for your pack.


✨ New Special Effects

SE Name Effect
Power of the Wind God Jump Boost III, Fall Immunity, Movement Speed +100%, Flight Speed +150% (main hand only)
Frost Glow Immune to frost damage; attacks deal bonus frost damage
Transcendent Will Enchantments +5, Damage ×1.5, Crit Chance +25%
Abyss Whisper Low level (≤99): Self Nausea I + Hunger I + Bad Luck V + Wither II; applies Wither X, Blindness I, Weakness V, Slowness V, Mining Fatigue III to enemies. High level (≥100): Self Bad Luck III + Wither I
Void Power Immune to void damage and debuffs; attacks deal bonus void damage and debuff the target
Admin’s Might (requires permission level 4) Immune to damage, debuffs and knockback; can fly, regenerates to full and clears debuffs; melee kills the target instantly
Flame Heart Attacks ignite enemies for 5s; immune to fire damage; +20% movement speed in the Nether
Void Walker Hovers when you step off a block; +30% speed in the End; ×2 damage to Endermen
Tempered Soul Durability cost halved; +1 durability per kill; every 10 kills consume 100 proud souls for +1 Refine (up to 100 times)
Grim Reaper’s Pact Below 30% health: +50% attack, at the cost of 1 HP per second (never lethal)
Elven Blessing +20% speed by day, +30% attack by night; immune to poison; +50% arrow damage
Dragon Soul Resonance Permanent +10% attack after slaying the Ender Dragon; 5% chance on hit to unleash dragon breath

🎬 Visual effects

Each SA is a staged performance rather than an instant particle burst:

  • Custom particles — two procedurally drawn textures (glow soft halo, rune mandala circle) rendered with additive blending, so overlapping light builds into real glow.
  • Server-side timeline — every effect is scheduled tick by tick: summoning circles, converging light, falling blades, ground shockwaves, afterimages, jagged lightning, and so on.
  • Screen presentation — impact flash, edge vignette and camera shake are sent to every player within range.

Performance-minded packs can turn the whole system down with [vfx] (particleScale, maxConcurrentEffects, particleBudgetPerTick) or off entirely — damage and hit detection are never affected.


🎯 Survival Mode Acquisition

SAs: structure chests

Chests may contain a Blade Core (耀魂宝珠) carrying the corresponding SA:

Structure Available SAs Chance
Ancient City Wan Jian Gui Zong, Senbonzakura, Frost Domain, Zhan Tian Ba Jian Shu, Jian Dang Ba Huang, Geng Jin Jian Jue, Qi Sha Jian Jie 10% / 20% / 15% / 10% / 10% / 8% / 5%
End Ship / End City Rift Slash, Zhan Tian Ba Jian Shu, Jian Dang Ba Huang 25% / 12% / 12%
Bastion Remnant (Treasure) Inferno, Geng Jin Jian Jue, Thor’s Wrath, Immovable King 15% / 10% / 12% / 8%
Nether Fortress Wan Jian Gui Zong, Qi Sha Jian Jie, Blood Moon Slash 8% / 6% / 10%

SEs: crafting

All 12 SEs are crafted — check JEI or the recipe book. Recipes, including shapeless variants and the result item, are fully configurable.

Dragon Soul Resonance has only 9 crafting slots, so it uses 1 Dragon Egg + 7 Dragon’s Breath + 1 proud soul crystal.

How to Apply

  1. Obtain a Blade Core with the desired SA, or a proud soul crystal with the desired SE.
  2. Place the Core / crystal and any SlashBlade onto a Blade Stand (刀挂台).
  3. Left-click to transfer the SA/SE to the blade.
  4. Hold the blade and right-click and hold to unleash the SA. SEs are passive while the blade is held.

⚙️ Configuration

Everything lives in config/slashexpansion-common.toml (generated on first launch).

Section Contents
[damage] Base damage formula: lower bound, Refine bonus, Power bonus
[sa.<skill>] Per-SA multiplier, search radius, blade count, effect radius, duration, effect levels
[entities.giant_slash] Travel distance, speed and hit detection of the giant slashes
[se.<effect>] Per-SE multipliers, levels, intervals
[loot] Which structure chests drop which SA, and how often
[recipe] Crafting recipe of every SE
[vfx] Effect toggle, particle scale, concurrent limit, screen flash and camera shake

[vfx] is hot-reloaded; [loot] and [recipe] apply on /reload.


🛠️ Commands

/slashexpansion vfx <name>     # play an SA's full animation
/slashexpansion vfx list       # list every available name
/slashexpansion vfx ping       # diagnostic: emit custom particles + screen flash

Requires permission level 2. Handy for tuning, recording, or just watching the animations.

Test commands (Creative Mode, 1.20.1 / Forge)

/give @p slashblade:slashblade{SpecialAttackType:"slashexpansion:wan_jian_gui_zong"}
/give @p slashblade:proudsoul_crystal{SpecialEffectType:"slashexpansion:wind_god_power"}

Replace the id with any SA / SE from the tables above. On 1.21.1 / NeoForge, item data uses components, so use the crafting and loot paths instead — or preview any animation with /slashexpansion vfx <name>.


📦 Dependencies

Dependency 1.20.1 1.21.1
Minecraft 1.20.1 1.21.1
Loader Forge 47.x NeoForge 21.1.249+
SlashBlade: Resharped 1.5.0+ 2.1.9-1.21.1

🌐 Languages & feedback

  • Simplified Chinese and English are bundled (zh_cn / en_us).
  • Bugs and suggestions: GitHub Issues.
  • Licensed under GPL-3.0.

⚙️ Developer Info

Build from source with the bundled wrapper:

gradlew build

Output: build/libs/slashexpansion-1.10.1.jar (1.20.1) · build/libs/slashexpansion-2.0.0-1.21.1.jar (1.21.1).

Project layout (1.20.1 line; the 1.21.1 line mirrors it with NeoForge packages):

src/main/
├── java/com/lisheng/slashexpansion/
│   ├── SlashExpansion.java                # Main class
│   ├── config/                            # Config spec + recipe injector
│   ├── util/ DamageCalculator.java        # Dynamic damage logic
│   ├── entity/                            # Custom entities
│   ├── specialattack/                     # 12 SA implementations
│   ├── specialeffect/                     # 12 SE implementations
│   ├── vfx/                               # Vfx primitives, director, per-SA choreography
│   ├── particle/                          # Custom particles (glow / rune)
│   ├── net/                               # Screen effect channel
│   ├── command/                           # /slashexpansion vfx
│   ├── mixin/                             # Admin protection mixins
│   ├── registry/                          # Registries
│   ├── loot/ LootInjector.java            # Config-driven loot injection
│   └── client/                            # Client renderers & screen effects
└── resources/
    ├── pack.mcmeta
    ├── META-INF/mods.toml
    ├── data/slashexpansion/recipes/       # Bundled default SE recipes
    └── assets/slashexpansion/
        ├── particles/                     # glow / rune definitions
        ├── textures/particle/             # Procedurally drawn textures
        └── lang/                          # zh_cn / en_us

常见问题

SlashExpansion 支持哪些 Minecraft 版本?

SlashExpansion 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

SlashExpansion 怎么安装?

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

评论

登录后评论和评分