#replace smithing material

56 messages · Page 1 of 1 (latest)

lean kayak
#

i would like to replace the biomes o plenty rose quartz chunk with the create rose quartz when used for armour trimming

zealous iglooBOT
#

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

lean kayak
#

tried this, didnt work

rapid ravineBOT
#

Never say 'it crashed', 'it errored', or 'it didn't work' without providing the full crash report, log, and scripts!

lean kayak
#

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

slender sparrow
#

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

#

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

lean kayak
#

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

lean kayak
#

seems like that is making more probl;ems than its fixing

#

aaaaaa

#

please help

slender sparrow
#

@lean kayak

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"

slender sparrow
#

That's really odd...

#

Ah okay

#

Sorry I wasn't able to help, trims are new to me

lean kayak
#

its alright

#

thanks for tryig

lean kayak
#

ima keep this open actually in case someone else knows

wind briar
#

this might be a matter of tagging, I'm going to snoop around for a while

#

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

lean kayak
#

lets trythis

lean kayak
#

im going to try the first method and see what happens

#

oh nvm that does the same thing anyways

#

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!!