Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ProfessorFichte/More-RPG-Classes/llms.txt

Use this file to discover all available pages before exploring further.

Custom Spell Impacts

Knock Up Impact

Apply a knockback effect that launches targets into the air:
{
  "impacts": [
    {
      "action": {
        "type": "CUSTOM",
        "custom": {
          "intent": "HARMFUL",
          "handler": "more_rpg_classes:knock_up_fixed"
        }
      }
    }
  ]
}

Lightning Strike Impact

Summon a lightning entity on the target:
{
  "impacts": [
    {
      "action": {
        "type": "CUSTOM",
        "custom": {
          "intent": "HARMFUL",
          "handler": "more_rpg_classes:lightning"
        }
      }
    }
  ]
}

Dash Abilities

Create a backward dash ability:
{
  "impacts": [
    {
      "action": {
        "type": "CUSTOM",
        "custom": {
          "intent": "HELPFUL",
          "handler": "more_rpg_classes:backward_dash_fixed"
        }
      }
    }
  ]
}
Or a forward rush:
{
  "impacts": [
    {
      "action": {
        "type": "CUSTOM",
        "custom": {
          "intent": "HARMFUL",
          "handler": "more_rpg_classes:rush_forward_to_target"
        }
      }
    }
  ]
}

Loot Table Functions

Conditional Spell Scrolls

Add specific spell scrolls from spell pools to loot tables:
{
  "type": "minecraft:item",
  "name": "spell_engine:scroll",
  "functions": [
    {
      "function": "more_rpg_classes:specific_spell_scroll_pool",
      "spell_pools": ["#wizards:frost", "#wizards:fire"],
      "spell_tier_min": 3,
      "spell_tier_max": 4,
      "count": 1,
      "blacklist_spells": ["wizards:frost_blizzard", "wizards:fire_meteor"]
    }
  ]
}

Bind Spells to Items

Bind a random spell from a pool to any item:
{
  "type": "minecraft:item",
  "name": "minecraft:diamond_sword",
  "functions": [
    {
      "function": "more_rpg_classes:bind_spell_from_pools",
      "spell_pools": ["#wizards:arcane", "#wizards:frost"],
      "count": 1
    }
  ]
}

Conditional Items with Fallback

Add items that only appear if a mod is loaded:
{
  "type": "minecraft:item",
  "name": "minecraft:diamond",
  "functions": [
    {
      "function": "more_rpg_classes:conditional_item",
      "conditional_item": "your_mod:jade_gem"
    },
    {
      "function": "minecraft:set_count",
      "count": {
        "min": 1,
        "max": 4
      }
    }
  ]
}

Conditional Loot Pool Entry

Add items without fallback (loot table remains functional):
{
  "type": "more_rpg_classes:conditional_item",
  "item": "your_mod:jade_gem",
  "count": {
    "type": "minecraft:uniform",
    "min": 1,
    "max": 3
  }
}

Custom Attributes

Lifesteal Configuration

Example attribute modifier for lifesteal:
{
  "attribute_modifiers": {
    "modifiers": [
      {
        "type": "more_rpg_classes:lifesteal",
        "amount": 40.0,
        "operation": "add_value"
      }
    ]
  }
}
200 Lifesteal = 100% healing from damage dealt

Damage Reflect

Reflect melee damage back to attackers:
{
  "attribute_modifiers": {
    "modifiers": [
      {
        "type": "more_rpg_classes:damage_reflect",
        "amount": 100.0,
        "operation": "add_value"
      }
    ]
  }
}

Rage Attribute

Deal more damage based on missing health:
{
  "attribute_modifiers": {
    "modifiers": [
      {
        "type": "more_rpg_classes:rage",
        "amount": 50.0,
        "operation": "add_value"
      }
    ]
  }
}
Calculation: Base Attack Damage + (Generic Attack Damage × Rage % × Missing Health %)

Fuse Attributes

Add elemental damage to melee attacks:
{
  "attribute_modifiers": {
    "modifiers": [
      {
        "type": "more_rpg_classes:arcane_fuse",
        "amount": 0.5,
        "operation": "add_value"
      }
    ]
  }
}
Available fuse attributes:
  • arcane_fuse
  • fire_fuse
  • frost_fuse
  • healing_fuse
  • air_fuse
  • earth_fuse
  • water_fuse
  • nature_fuse

Chance-Based Effects

Apply status effects on hit:
{
  "attribute_modifiers": {
    "modifiers": [
      {
        "type": "more_rpg_classes:burning_chance",
        "amount": 0.25,
        "operation": "add_value"
      },
      {
        "type": "more_rpg_classes:freeze_chance",
        "amount": 0.15,
        "operation": "add_value"
      }
    ]
  }
}
Available chance attributes:
  • burning_chance
  • stagger_chance
  • stun_chance
  • poison_chance
  • freeze_chance
  • bleeding_chance

Armor Piercing

Ignore a percentage of target armor:
{
  "attribute_modifiers": {
    "modifiers": [
      {
        "type": "more_rpg_classes:armor_piercing",
        "amount": 100.0,
        "operation": "add_value"
      }
    ]
  }
}
100% (200 attribute value) ignores armor completely

Tenacity

Resist harmful status effects:
{
  "attribute_modifiers": {
    "modifiers": [
      {
        "type": "more_rpg_classes:tenacity",
        "amount": 50.0,
        "operation": "add_value"
      }
    ]
  }
}
  • 100 Tenacity = 0% resist
  • 150 Tenacity = 50% resist
  • 200 Tenacity = 100% resist (full immunity)

Spell Schools

Registering Spells with Custom Schools

Example spell using the Nature spell school:
{
  "spell_id": "yourmod:nature_spell",
  "school": "more_rpg_classes:nature",
  "cost": 20,
  "range": 16,
  "cast_duration": 20,
  "impacts": [
    {
      "action": {
        "type": "DAMAGE",
        "damage": 10
      }
    }
  ]
}
Available spell schools:
  • more_rpg_classes:air
  • more_rpg_classes:earth
  • more_rpg_classes:water
  • more_rpg_classes:nature
  • more_rpg_classes:fire_ranged
  • more_rpg_classes:frost_ranged
  • more_rpg_classes:rage_melee

Example Projects

Elemental Mage Class

Combine spell schools and attributes to create a custom mage class:
{
  "armor_set": {
    "helmet": {
      "attribute_modifiers": {
        "modifiers": [
          {
            "type": "spell_power:air",
            "amount": 2.0
          },
          {
            "type": "more_rpg_classes:air_fuse",
            "amount": 0.3
          }
        ]
      }
    }
  }
}

Berserker Warrior

Create a rage-based melee fighter:
{
  "weapon": {
    "attribute_modifiers": {
      "modifiers": [
        {
          "type": "more_rpg_classes:rage",
          "amount": 80.0
        },
        {
          "type": "more_rpg_classes:lifesteal",
          "amount": 60.0
        },
        {
          "type": "more_rpg_classes:bleeding_chance",
          "amount": 0.3
        }
      ]
    }
  }
}

Resources

Build docs developers (and LLMs) love