Help with custom sword slash attack

Started by MarceloMachado on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with custom sword slash attack

Hello everyone!

This is my first post here, so sorry for any mistakes on my part.

I'm a very new developer — I started making my first Fabric mod now in 2025. I've been following the Kaupenjoe tutorial series for Minecraft version 1.21.X.

In my mod, I made a custom 3D sword called Excalibur, and I really want it to have a special right-click ability: launching a sword slash (basically like the Excalibur attack from the Fate anime series).

I suppose I’ll need to use GeckoLib to do a custom player animation for the slash movement — and that already seems pretty difficult — but I also want the sword itself to have a first-person animation. And then there's the whole part of creating the projectile...

So to sum it up:

  • I want to animate the player model doing the attack,
  • animate the first-person sword movement
  • create a cool slash effect/projectile that gets released when right-clicking with Excalibur in-hand.
  • Later on, I’d like to add a cooldown to the attack as well.

Unfortunately, I don’t really know how to do any of that yet 😅
But I have time and patience — so if anyone has tips or guidance, I’d be super grateful!

Also, sorry for any grammar mistakes — English is not my first language.

Thanks in advance!

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't help with animation…
Thu, 03/27/2025 - 00:24

I can't help with animation but for the flying slash projectile you could just make a slash in a 3d modeling software and create an mcreator projectile with it. Then you can use the triggers like the when projectile hits entity to do damage and maybe the when flying to make it spawn projectiles.

 

Hope this helped

Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It sure helps! Thanks for…
Thu, 03/27/2025 - 01:29

It sure helps! Thanks for the answer, I will look into it right away!