#Changing Create Saber from 2 handed to 1 handed

23 messages · Page 1 of 1 (latest)

fallen drum
#

Running Better Combat with Create Saber's causes the sabers to be 2 handed. I am trying to find a way to either add an additional set of 1 handed sabers or just change the existing to 1 handed. Unfortunately I am blind to how I would even start this.

marsh jungleBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

frigid jayBOT
#

╰( ͡° ͜ʖ ͡° )つ──☆:・゚˜”°•.˜”°• 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.

white trellis
#

what do you mean by two handed? what are sabers?

azure marsh
#

how is this related to kubejs

#

anyways, probably not possible heh

fallen drum
#

i know kubejs can modify weapons. i do not know how to pull such values though

frigid jayBOT
#

You can modify tags with KubeJS, and the wiki has a page on that!

fallen drum
#

yeah, i think thats what i need. now to figure out what tags better combat adds. least thats what i assume

kindred otter
#

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

fallen drum
#

Would attributes be a tag?

glossy wharf
#

kubejs takes highest priority for datapacks

fallen drum
#

which opens a new problem of not knowing how to put a datapack together

kindred otter
#

Copy the folder structure you see in better combat and put it in your minecraft folder kubejs/data

#

Kubejs will inject it for you

fallen drum
#

so that works to directly override the 2handed attribute. wonder if i can make the weapon changes its attribute

fallen drum
#

ha found it. thank you for your help and instruction on datapacks

nimble hawk
#

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

nimble hawk