#Can you modify KubeJS textures added by a modpack with a resource pack?

91 messages · Page 1 of 1 (latest)

tropic hamlet
#

title says all

steel sableBOT
#

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

stray rock
#

you can just modify the textures directly if theyre added with KJS.
but yes you can do it with a resource pack too

tropic hamlet
#

yeah how do i do that

#

i tried multiple filepaths and couldnt figure it out

stray rock
#

the textures that were added are somewhere in /kubejs/assets/
to find the exact path, you need to look at the startup scripts and see what the item/block IDs are and if they have a custom texture path or not

tropic hamlet
#

ok so

#

in the kubejs folder the filepath is

#

minecraft/kubejs/assets/createastral/textures/item/andesite_compound.png

#

however

#

if i replicate that

#

it doesnt work

stray rock
#

im not sure i understand what you mean

#

all you have to do is delete that texture and replace it with the one you want in this case, and name it appropriately

tropic hamlet
#

alright so

#

i dont know how to describe it

tropic hamlet
#

i do not want to replace the texture in the instance itself

#

i want to use a resource pack to override it so i can share it with my friends

tropic hamlet
#

still cant figure it out 😭

stray rock
#

I dont really have any experience on making those, as far as I know you just copy the folder structure. either way this is a vanilla related question, rather than KJS, so you should find more info on the minecraft wiki https://minecraft.fandom.com/wiki/Resource_pack

Minecraft Wiki

The resource pack system provides a way for players to customize textures, models, music, sounds, languages, texts such as the end poem, splashes, credits, and fonts without any code modification.

tropic hamlet
#

no

#

i know how to do resource packs

#

i just dont know how the kubejs filepath works

#

i bet it doesnt even work with resource packs and you just have to change them manually

stray rock
#

it is literally the exact same way a mod works

#

there is no difference

tropic hamlet
#

its not though cause kubejs stores the shit in a different fodler

hexed heron
#

the assets folder is simple

#

lemme get a screenshot

#

simple as that

#

its literally just a resource pack

#

just how you'd use it normally

stray rock
#

if you looked inside a mod's jar, you'd notice its literally the exact same structure, where it is, is irrelevant, it gets loaded the same way.

tropic hamlet
#

what i am confused with

#

i do not want to directly modify the files

hexed heron
#

modify what files

tropic hamlet
#

if i kubejs/textures/insertitemnamehere it doesnt work

#

because there is another subfolder

#

and if i add the subfolder it doesnt work

hexed heron
#

yeah because if you put it in a subfolder you have to specify it in the script

tropic hamlet
#

i didnt make this im just tryna modify a texture from a modpack

#

see like this doesnt work

stray rock
#

does your resourcepack path match the path of the texture in kjs assets?

hexed heron
#

which asset from c:astral are you trying to modify

tropic hamlet
#

the filepath is

hexed heron
#

what does it say in the registry scripts? did you change anything and move something to a different folder?

#

or are you making a seperate resource pack

tropic hamlet
tropic hamlet
hexed heron
#

if you're making a seperate resource pack you can try to prioritize it in the menu

stray rock
# tropic hamlet

so this is the root folder for item textures, theres no subfolders

tropic hamlet
#

so how would i designate an item in a resource pack to follow that path

#

item/andesite_compound

hexed heron
#

your resource pack has to have the same filepath as put in the kubejs assets

tropic hamlet
#

FUCK I FORGOT THE TEXTURES FOLDER

hexed heron
#

oops

tropic hamlet
#

wait it still doesnt work :p

stray rock
#

because your path is wrong

hexed heron
#

try just doing /Astral - Corn/assets/createastral

stray rock
tropic hamlet
#

alright let me try

hexed heron
#

yep

#

just like that

tropic hamlet
#

still doenst work

hexed heron
#

did you prioritize it?

tropic hamlet
#

wha

#

like in the pack menu?

hexed heron
#

ye

#

move it up

tropic hamlet
#

yeah its at the top

hexed heron
#

hm

tropic hamlet
#

let me double check i spelled andesite compound right

hexed heron
#

you can try just changing it directly from the kubejs assets ig

tropic hamlet
#

the issue is that i wanted to share it with my friends

hexed heron
#

ah ye

tropic hamlet
#

whatever i guess i can just walk them through how to do it

hexed heron
#

just send them the image directly yeah

#

i'm not sure the problem here

tropic hamlet
#

kinda dissapointed but oh well

steel sableBOT
#

@tropic hamlet Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

steel sableBOT
#

@tropic hamlet Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

steel sableBOT
#

@tropic hamlet Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

steel sableBOT
#

@tropic hamlet Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!