#Creating custom staffs for Iron's spells and spellbooks
50 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
as of right now I have the following code written
I'm trying to make a staff that gives:
+25% ender spell power
+20% cooldown reduction
has 1 attacks speed, does 6 attack damage and uses the model I made in blockbench
right now when I launch the game it says that it can't find the display name function but it is there in the first line do idk
You have displayname and not displayName
Oh I see, capitalisation comes back to bite me
Plus the multiply total operation has a base value of 1 plus the amount specified, it would currently be 125% ender and 120% cooldown reduction
ohhh ty very much
also I figure you're the best person to ask but does your irons spells add on also allow for the creation of upgrade orbs? cause I was gonna do that next
I could probably add that
Wouldn't make sense if I didn't lol, I forgot they existed entirely
lmfao make sense
also also is the whole +x levels to a spell supported?
cause one of the staffs I wanted to make was gonna give a couple extra levels to specific spells
I recommend using Additional Attributes for that
I didn't add it because additional attributes did it better
ohh is it also a kubejs add on?
oh that's nice will look into that then
will keep this open in case there's other stuff I need to ask, again ty and merry christmas
Merry Christmas to you too
well the game crashes upon launching, idk if this is related to this
Logs?
Please send your Minecraft log. It can be found at ./logs/latest.log.
Note! Minecraft and KubeJS logs differ. Please send the latest.log, not a KubeJS log.
Paste version of latest.log from @simple pumice
Got an error message in my folders too saying it couldn't find the path to the model modler, could that be it? also saw that I used .model and not .modelJson tho that wasn't giving me any issues earlier
gonna drop this here since every other staff I make will pretty much just be a copy paste of this but for the different schools so pls lmk if anything here is abhorrent. Still haven't figured out why the game is crashing but that's a problem for tomorrow.
Why are you registering both of them twice?
Also you don't need the model methods if your model isn't anywhere special
Am I not supposed to for different items? The code is very similar but they’re actually two different staffs
I’ll try moving the models and textures
There are two ender_staffs and two staff_of_the_ends
Paste version of latest.log from @simple pumice
is there anything wrong with this that you can see? or it something on my end maybe with the models
?
cause I have the model here inside of the kubejs folder
texture is in here
for some reason the model doesn't load the texture despite it being in there but that's prolly a blockbench issue more than anything
texture within the file should also be in the right place
idk if any of this is useful in figuring this out, thought I may as well provide as much info as I could