so the most recent version of ice and fire had the issue with durability of its items fixed, so most of the items doesnt have the maximum of 8000 uses but rather its desired amount, althou the mod still doesnt respond to outside value changers like kubejs item modification event or property modifier mod. i was thinking of tryong to solve that problem once and for all here, so anyone intersted in helping out dont hesitate to try
#Max item durability changing
64 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
??ctc
The thing you are trying to do can probably be achieved using the mods config, without anything extra!
Most mods have at least one config located at instance/config.
Some mods also have serverconfigs, found at instance/saves/worldname/serverconfig. You can copy any files in here to the defaultconfigs folder to automatically apply them to new worlds!
You can modify various properties of an existing item with KubeJS, and the wiki has a page on it!
there is no options in the config file and heres what ive been trying so far
Paste version of scriptitemedit.js from @glossy ocean
event.modify("iceandfire:silver_sword", item =>{
item.tier = tierOptions => {
tierOptions.uses = 222
}
})
this works here
and youre using the most recent version of ice and fire
on 1.18.2
just making sure
im gonna try it anyways thou give me a while
my minecraft directory takes some time to load with all of the mods im using
yeah i'm using, just downloaded
this is so strange
you are using maxdmg, not use
okay im launching the game
wdym?
in regard to no options in the config?
ah
well i got an error log that says its missing an ,, ; " before statement
looks like this
If you're working with KubeJS scripts, configuration files, or similar things, we generally recommend using an actual IDE rather than just Notepad and its various siblings. In a lot of cases, it can help you with finding errors in your code faster and also gives you neat features like syntax highlighting, automatic formatting, et cetera! We recommend Visual Studio Code, since it's lightweight(-ish) and works very well with JavaScript files out-of-the-box.
??sendcode
Send your code here instead of a screenshot
It makes it easier to diagnose your code and help you fix it or make the required changes/additions.
i might have pasted it incorrectly, yes, im gonna try to get this done
read my msg again, it is not }), only } and after that })
in this case, only })
if I'm reading that light mode notepad++ correctly
oh 😅
if you are serious with Kubejs scripting you should use VSCode + ProbeJS
that's what happens when you want me to read light mode notepad++ at 11pm
⬆️
did i got it right
seems like it
Send your code here instead of a screenshot
It makes it easier to diagnose your code and help you fix it or make the required changes/additions.
man i swear when it gets late im losing it to even the simplest things imaginable
lets see my game is launching
that's what happens when you use notepad++ instead of an actual code editor
lexies killed sychioas?
vsc would've screamed at you

she deleted it and remade it as sendcode
nah i have a vs code but its just like i was expecting it to get done in such a quick manner that it wouldnt matter
oh it does
OH my god
man @dull heron thank you so much
iv been trying to get this done for ages and i finally succeed
youre such a gold hearted person helping me out of nowhere at late hours for no reason at all
the big guy above will reward you generously in the afterlife im tellin ya
timezones exist
ye i know i know but i suppose you get my point
I kinda do
damn i hope you guys have a wonderful living out there, now im going to get started on tweaking all the items that were perviously just pissing me off with their lack of synergy in the contrast to other ones that ive tuned