#replace smithing material
56 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
tried this, didnt work
Never say 'it crashed', 'it errored', or 'it didn't work' without providing the full crash report, log, and scripts!
well, there wasnt an error
it just didnt do anything
it didnt say that in a guide or documentation or anything i just tried it
off the top of my head
here's all thats important in the script i guess, the skyrott stuff right above it works just fine
This might be a case of overriding BOP's datapack file for smithing material, because you might not be able to do it with Kube
You can find them here: https://github.com/Glitchfiend/BiomesOPlenty/tree/1.20.2/src/main/resources/data/biomesoplenty/trim_material
All you have to do is copy the rose quartz json, and make a path like this in your instance: .minecraft/kubejs/data/biomesoplenty/trim_material
Throw it there, then edit the ingredient
hmmmm alright
lets try
it doenst seem to have been working
i cant even /kubejs reload data
you know what i think ima just
replace create rose quartz with the bop instead of the other way around
This would probably be either /reload or game restart
@lean kayak
i tried both
i ended up just giving up and instead of unifying create and bop rose quartz just called the create one "artificial rose quartz"
Ticket re-opened!
ima keep this open actually in case someone else knows
this might be a matter of tagging, I'm going to snoop around for a while
you need to change this (there's a better option, look further down to the part where I realize it)
https://github.com/Glitchfiend/BiomesOPlenty/blob/1.20.2/src/main/resources/data/minecraft/tags/items/trim_materials.json
the same as with the other one, but put it in kubejs/data/minecraft/tags/items/trim_materials.json
basically trim_materials are minecraft native tag
so biomes of plenty injects itself into it
I think you can remove the tags with kubejs too
yeah
instead of adding this file ^ it's better to do it with kubejs
ServerEvents.tags('item', event => {
// Get the #minecraft:trim_materials tag collection and add Rose Quartz to it
event.add('minecraft:trim_materials', 'create:rose_quartz')
// Get the #minecraft:trim_materials tag collection and remove Rose Quartz Chunk from it
event.remove('minecraft:trim_materials', 'biomesoplenty:rose_quartz_chunk')
}
like this
this way the rose_quartz will be replaced instead of just having both
lets trythis
this almost works, it adds the create rose quartz to the materials pool but it does not actually do anyhthing when in the smithing table
im going to try the first method and see what happens
oh nvm that does the same thing anyways
x
OH
I GOT IT TO WORK!
i used a combination of both methods, footerman's datapack and your kubejs thingy
thank you so much both of you!!