#custom item texture bug
166 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Paste version of script.js from @molten seal
What’s the name of the texture file?
.png?
name of png
how in the world did you manage to register an ID with capital letters
it shouldve crashed instantly
these are the valid characters for an ID: [a-z0-9/._-]
I don't know, I watched a video of some schoolboy
change it to lowercase, might fix it
you must have some weird mod that changes this
same problem
i think i may have an idea, let me check something
I am intrigued
try this
Lex
hi
wot
Or wait
but i just showed you that it cant
It can't?
can i change the name

No
resourcelocation CANNOT have capitals
its some core mod most likely changing it
Yeah I see that now, are you looking at Mojang code in that screenshot or KubeJS?
Is it the constructor for the class?
name of what 
of this
Definitely seems like a core mod messing with it.
Kube just calls that second constructor
https://github.com/KubeJS-Mods/KubeJS/blob/a021e99f79084e4ad7f8be38ae12c3ef915f20ca/common/src/main/java/dev/latvian/mods/kubejs/util/UtilsJS.java#L409
either way this is always checked
same issue?
yes
Hold up the texture in that screenshot is the textue atlas
wtf 
to me it looks like some mods are really fucking sketchy
wtf
What's your modlist?
I don't see any texture specification in your script..
StartupEvents.registry('item', event => {
event.create('dirty_zinc_powder').displayName('Dirty Zinc Powder').texture('kubejs:item/dirty_zinc_powder')
})
you dont need it if you use the default location
same way you dont need the display name
cant you just post the html
Discord won't let you send html
the fuck 
?
copy paste the contents, and it should send it as a txt
Paste version of modlist.txt from @molten seal
iris?
what is the problem with iris
shaders in general break the game
which is why theyre a big nono most of the time, especially in modded mc
The amount of mixins that mod has...
:p
Paste version of script.js from @molten seal
@small monolith in kubejs\assets\kubejs\textures\item
Paste version of script.js from @molten seal
remove the .displayname and .texture
and name the textures the same as the ID
nothing has changed
Paste version of script.js from @molten seal
Paste version of latest.log from @molten seal
it doesnt say theres missing textures
what i need to do
So I understand correctly, you want to add new items? It works..
Paste version of plates.js from @knotty briar
i feel like im talking to a brick wall when i talk about displayname and texture
im out
I don't know. excuse me. I asked if items should be added, and as I understand it, the textures are not loaded.. And yes, that's why I thought it couldn't be that difficult and just started on the items..
sorry i'm bad at english
everything is new to me
i add new item but texture its now working
I tried to change everything in the code, but minecraft doesn't care
So does what you want work or not?
@molten seal are you trying to add new items to Modern Industrialization? These look like their textures sorta
If so you shouldn’t be adding your items like this, and instead adding them to materials using their api for kjs
i try make custum item
which will be crafted from steel mi
and plate from ad astra
Steel mi and astra?? I don't know, where does that come from, so that I can possibly help.. I'm more in Create etc..
modern industralizacion and ad astra
how you fix textures don't work for me
@knotty briar
Ok. Like I said I’d recommend making a MI material for it
here 😄
I'm not good at graphics editing 😄
Paste version of 22.js from @molten seal
where is .texture('') and .displayName('')
up
.
Send me the whole modpack and I'll take a look and see if I can do it.. I think we're either talking past each other or I don't know exactly what's working.
@knotty briar here
It works, doesn't it?!
but how
emmm
fucking minecraft
i try to make new profile
i created a new profile and imported the modpack
Looks like the files got mixed up and bugged
if someone has such a problem, you know what to answer him
Thank you all for your help you are the best
