How to Implement Better Combat support?

Started by SevPpl on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to Implement Better Combat support?

https://mcreator.net/plugin/103469/bettercombat-api

Theres this old plugin, but its been abandoned and is incompatible with modern mcreator versions.

How can one go about implementing better combat?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can have basic better…
Thu, 12/11/2025 - 23:59

You can have basic better combat support by creating your weapons with a registry name that includes a keyword. Things like 'spear' 'cutlass' and 'rapier' have built-in support on better combat's side, and you can change the display name of the item to something different. Such as iron_cutlass registry name, and Iron Saber as the display name, to use the built-in cutlass attack range and animation.

I don't know how to implement custom attack ranges, animations, and two-handed status.

The full list is accessible from a link from better combat's mod page, but I don't remember the exact link.

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What are registry names?
Fri, 12/12/2025 - 23:22

What are registry names?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The internal name that…
Fri, 12/12/2025 - 23:47

The internal name that includes item name and mod id. For example, if you have a mod called Sword Expansion (mod id: sword_expansion), and you add in a new diorite sword, you put DioriteSword into the tool creation interface, and MCreator sets the registry name to sword_expansion:diorite_sword

If you were to create an item and input DioriteCutlass, the registry name would be sword_expansion:diorite_cutlass which would then use cutlass-type attack settings with better combat.

The display name (Diorite Sword or Diorite Cutlass in the examples), can be changed from the tool editing interface, while the registry name is only set when you create the tool, as changing it can break things.

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah, I was pretty sure that's…
Fri, 12/12/2025 - 23:54

Ah, I was pretty sure that's what it was, but I wasn't sure. Thanks!

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No problem
Sat, 12/13/2025 - 00:56

No problem