Rogue Sword

Rogue Sword

Mod

A casting utility that is used to get temporary speed effect.

Server EquipmentMagic

321 downloads
1 follower
Follow Save

RogueSword

A rogue sword is a casting utility that is used to get temporary speed effect.

Statistics
Melee Damage 4
Mana Consumption 1
Rarity Uncommon

Usage

Melee Attack

Same as a golden sword.

Speed Effect

Pressing use while holding a rogue sword in main hand give the player speed effect with amplifier 1 for 30 seconds and consumes 1 mana.

Mana Consumption with Mana Efficiency

Base Mana Consumption Mana Efficiency I Mana Efficiency II Mana Efficiency III Mana Efficiency IV Mana Efficiency V
1.0 0.9 0.8 0.7 0.6 0.5

Data Powered

An item where minecraft:custom_data.id is "rogue_sword:rogue_sword" is considered as an rogue sword.

Give Command

/give @s minecraft:golden_sword[custom_data={id:"rogue_sword:rogue_sword"},item_name={text:"Rogue Sword"},rarity="uncommon"]

Loot Table Entry

{
    "type": "minecraft:item",
    "functions": [
        {
            "function": "minecraft:set_components",
            "components": {
            "minecraft:custom_data": {
                "id": "rogue_sword:rogue_sword"
            },
            "minecraft:rarity": "uncommon"
            }
        },
        {
            "function": "minecraft:set_name",
            "name": {
                "text": "Rogue Sword"
            },
            "target": "item_name"
        }
    ],
    "name": "minecraft:golden_sword"
}

Configuration

Below is a template config file config/rogue-sword.json filled with default values. You may only need to write the lines you would like to modify.

{
  "manaConsumption": 1.0,
  "speedDuration": 600,
  "speedAmplifier": 0,
  "speedAmbient": false,
  "speedShowParticles": true,
  "speedShowIcon": true
}

Project members

CookedSeafood

Owner

Details

Licensed GPL-3.0-or-later
Published 8 months ago
Updated 3 months ago