#Changing Create Saber from 2 handed to 1 handed
23 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
╰( ͡° ͜ʖ ͡° )つ──☆:・゚˜”°•.˜”°• Many Help •°”˜.•°”˜*
Please provide a description of your issue with as much detail as possible. If you have an issue with a script provide the script. Explain what you can see happening and what you expect to happen. Be specific!
Tell us what is happening, we already know it "doesn't work".
Avoid using words like "it", tell us exactly what "it" is.
Don't assume anyone knows what you are talking about, be specific.
Provide screenshots or video of the issue, not the code or chat, if possible.
Provide the log.
what do you mean by two handed? what are sabers?
mod: https://www.curseforge.com/minecraft/mc-mods/create-sabers/comments
mod: https://www.curseforge.com/minecraft/mc-mods/better-combat-by-daedelus
The kubejs part is this: trying to modify a tag of a sword.
i know kubejs can modify weapons. i do not know how to pull such values though
You can modify tags with KubeJS, and the wiki has a page on that!
yeah, i think thats what i need. now to figure out what tags better combat adds. least thats what i assume
you can open the mod jar file like a zip file and inside there will be a data folder with tags
just make sure you open it with winrar or something and not java
Would attributes be a tag?
better combat uses datapacks, it's just a matter of priority here.
kubejs takes highest priority for datapacks
which opens a new problem of not knowing how to put a datapack together
Copy the folder structure you see in better combat and put it in your minecraft folder kubejs/data
Kubejs will inject it for you
so that works to directly override the 2handed attribute. wonder if i can make the weapon changes its attribute
ha found it. thank you for your help and instruction on datapacks
Ticket closed!
I am trying to do this same thing here. So what was the solution? Did he copy the folder structure from create better sabers into the kubejs/data folder? I did the same thing, created a json with the same code as the saber from create sabers and changed the attribute from claymore to sword. But when I did that the game still treated it as a claymore
Can you send exactly how you solved this? I am very new to Kubejs
