Better Combat API adds support for the Better Combat mod within MCreator
--Enabling the Mod / How to Use--
Click "Workspace Settings" at the top right--> Click External API -->
Ensure the following 3 external API's are turned on for everything to work properly
(If you cannot see these options, restart McCreator)
--Adding Animations to Weapons--
Method 1 - Simple Way:
Begin by adding a tool element
Within the Tool name / ID MAKE SURE YOU INCLUDE ONE OF THE FOLLOWING PRESETS:
Anchor, Axe, Battlestaff, Claw, Claymore, CoralBlade, Cutlass, Dagger, DoubleAxe, Fist, Glaive, Halberd, Hammer, HeavyAxe, Katana, Lance, Mace, Pickaxe, Rapier, Scythe, Sickle, SoulKnife, Spear, Staff, Sword, Trident, TwinBlade, Wand
It should look something like this
You can the change the in-game name of the item to whatever you like:
Method 2 - Complex Way:
Begin by opening the workspace file browser by sliding the bar at the far left, towards the right
Open the Resources/data/modID folder - if you cannot find the data folder simply create a recipe, save it, then delete it
Right click on the modID folder and add a folder called weapon_attributes
Right Click that folder and click add JSON file
Name the JSON file with the weapon ID you'd like to customize - ensure each capital letter/space in the element name is separated by an underscore
Within the JSON file, type the following, substituting one of the aforementioned presets into the <preset> placeholder:
{
"parent": "bettercombat:<preset>"
}
Save the JSON file, and everything should be ready!
--Changing the Size of Weapons--
Begin by locking the code of your chosen weapon
Open the associated JSON file
Copy and Paste the Following:
Make sure to change the modID, and textureID
You may then edit the rotation, translation, and scale freely
--Better Combat Documentation--
GitHub: https://github.com/ZsoltMolnarrr/BetterCombat
Weapon Presets: https://github.com/ZsoltMolnarrr/BetterCombat/tree/1.20.1/common/src/main/resources/data/bettercombat/weapon_attributes
Comments
Is there any way to make custom animations for weapons? I watched a lot of tutorials but I don't understand English or other languages of the tutorials or of MCreator itself well, I've tried a lot of things and made my own animations and uploaded them to MCreator but nothing, it only worked by putting the name of the weapon set as katana or dagger, etc. but not with my own animations. Thanks for reading
The plugin foor 2024.3 plugin?