Wiki 9Minecraft Wiki 9Minecraft

Set Up Custom Blade Mechanics for Your Weapon Mod

Java EditionModGuides 4FAQ 10Related mods 60
DownloadLegendRelicLib Mod

Get the files on 9Minecraft

Contents (3)
  1. Understanding the Slashblade System
  2. Implementation Steps
  3. Key Advantage

Understanding the Slashblade System

LegendRelicLib provides a foundation for creating custom blade attacks without building the system from scratch. If you're developing a mod that adds weapons with special slash effects, this library handles the core mechanics so you can focus on unique behaviors.

Implementation Steps

1. Reference the slashblade mechanics in your mod's code by importing LegendRelicLib as a dependency

2. Define your blade properties using the library's blade configuration system—specify attack speed, damage scaling, and visual effects

3. Attach custom actions to your blade using the provided action handlers for slash events

4. Test your blade in-game by equipping it and performing attacks to verify the mechanics respond correctly

Key Advantage

Instead of writing delay systems and action triggers yourself, you inherit pre-built timing controls. This means your custom blade attacks will execute on schedule without desync or missed triggers. The library handles the background synchronization between server and client automatically.

More guides for this mod