幻象魔杖
灵感源自 AltarSMP。
基础物品: 下界合金剑(魔杖)
指令: /wandofillusion [player]
权限: customweapons.wandofillusion(默认:op)
资源包: 安装 AltarSMP 材质包 —— 本插件组围绕该材质包构建,安装后能呈现预期的视觉效果与音效。
跨插件检测 (/weapons)
每个 AltarSMP 武器插件都会注册 /weapons [player] 指令,每次运行时会从当前已安装并启用的所有其他 AltarSMP 插件中各发放一件武器——实时检测,无需配置。
合成配方
. B .
I S I
. B .
其中:
按此图案将材料放入合成台(. = 空槽)即可获得幻象魔杖。可在配置文件中关闭此配方。
附魔
- 锋利 V
- 横扫之刃 III
- 火焰附加 II
- 抢夺 III
- 耐久 III
- 经验修补 I
8 点攻击力,1.6 攻击速度(下界合金剑级别,无论武器本身的材质如何)。该物品不可破坏。
config.yml
weapon:
cooldown-ability-1: 20
cooldown-ability-2: 25
recipe:
enabled: true
shape:
- " B "
- "ISI"
- " B "
ingredients:
B: BLAZE_ROD
I: ENDER_PEARL
S: STICK
冷却时间单位为秒,并在服务器启动时重新加载配置文件。设置 recipe.enabled: false 可禁用合成,仅通过 /wandofillusion 指令发放物品。
技能与触发方式
| 触发方式 |
技能 |
效果 |
| 右键点击 |
伪装 |
获得 20 秒隐形效果,并伴随传送门粒子爆发。 |
| 潜行+右键点击 |
形态锁定 |
获得 40 秒隐形效果,并使用女巫粒子将幻象固定在原位,同时显示确认消息。 |
注意事项
- 该武器通过持久的 NBT 标签绑定至接收它的玩家,因此更改描述文本或名称不会影响技能检测。
- 激活技能的玩家永远不会受到自身技能造成的伤害、击退或负面效果的影响,即使对于范围攻击、爆炸以及飞行中的投射物/波次也是如此。
Wand of Illusion
Inspired by AltarSMP.
Base item: Netherite Sword (wand)
Command: /wandofillusion [player]
Permission: customweapons.wandofillusion (default: op)
Resource Pack: Install the AltarSMP Texture Pack - this plugin set is built around it and looks/sounds as intended with it installed.
Cross-Plugin Detection (/weapons)
Every AltarSMP weapon plugin registers /weapons [player], which hands you one weapon from every other AltarSMP plugin currently installed and enabled - a live check each run, nothing to configure.
Crafting Recipe
. B .
I S I
. B .
Where:
B = Blaze Rod
I = Ender Pearl
S = Stick
Drop the ingredients into a crafting table in that pattern (. = empty slot) to get the Wand of Illusion. Recipe can be turned off in config.
Enchantments
- Sharpness V
- Sweeping Edge III
- Fire Aspect II
- Looting III
- Unbreaking III
- Mending I
8 Attack Damage, 1.6 Attack Speed (Netherite Sword-level, regardless of the weapon's own material). The item is also unbreakable.
config.yml
weapon:
cooldown-ability-1: 20
cooldown-ability-2: 25
recipe:
enabled: true
shape:
- " B "
- "ISI"
- " B "
ingredients:
B: BLAZE_ROD
I: ENDER_PEARL
S: STICK
Cooldowns are in seconds and reload from config on server start. Set recipe.enabled: false to disable crafting and hand the item out with /wandofillusion only.
Abilities & Triggers
| Trigger |
Ability |
What it does |
| Right-Click |
Disguise |
Grants Invisibility for 20 seconds with a burst of portal particles. |
| Shift+Right-Click |
Morph Lock |
Grants Invisibility for 40 seconds and locks the illusion in place with witch particles and a confirmation message. |
Notes
- The weapon is bound to the player who receives it via a persistent NBT tag, so lore/name changes won't break ability detection.
- The activating player is never hit by their own ability's damage, knockback, or negative effects, even for area attacks, explosions and travelling projectiles/waves.
评论 0
登录后参与评分
还没有评论,来抢沙发吧