#custom item texture bug

166 messages · Page 1 of 1 (latest)

molten seal
vital solarBOT
#

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

molten seal
#

kubejs\assets\kubejs\textures\item

gritty adderBOT
#

Paste version of script.js from @molten seal

signal aurora
molten seal
#

same

#

Caloritesteel_Large_Plate

signal aurora
#

.png?

molten seal
#

name of png

molten seal
#

What is the problem

small monolith
#

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/._-]

molten seal
#

I don't know, I watched a video of some schoolboy

small monolith
#

change it to lowercase, might fix it

#

you must have some weird mod that changes this

molten seal
#

same problem

small monolith
#

i think i may have an idea, let me check something

molten seal
#

I am intrigued

small monolith
#

try this

supple oracle
#

Lex

small monolith
#

hi

supple oracle
#

You're confusing name space with path

#

Path can have capitals

small monolith
#

wot

supple oracle
#

Or wait

small monolith
#

but i just showed you that it cant

supple oracle
#

It can't?

molten seal
#

can i change the name

supple oracle
small monolith
#

No

#

resourcelocation CANNOT have capitals

#

its some core mod most likely changing it

supple oracle
#

Yeah I see that now, are you looking at Mojang code in that screenshot or KubeJS?

small monolith
#

this pic is mc code

#

in intellij

supple oracle
#

Is it the constructor for the class?

small monolith
#

yes

#

wait

#

there

small monolith
molten seal
small monolith
#

well yeah lmao

#

you have to

supple oracle
small monolith
#

either way this is always checked

molten seal
#

not working

small monolith
#

same issue?

molten seal
#

yes

supple oracle
#

Hold up the texture in that screenshot is the textue atlas

small monolith
#

wtf hmmm

supple oracle
molten seal
#

rei its you

#

?

supple oracle
small monolith
#

to me it looks like some mods are really fucking sketchy

molten seal
#

wtf

supple oracle
#

What's your modlist?

knotty briar
# molten seal kubejs\assets\kubejs\textures\item

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')
})

small monolith
#

you dont need it if you use the default location

#

same way you dont need the display name

#

cant you just post the html

molten seal
#

Discord won't let you send html

small monolith
#

the fuck hmmm

molten seal
#

?

small monolith
#

copy paste the contents, and it should send it as a txt

molten seal
gritty adderBOT
#

Paste version of modlist.txt from @molten seal

molten seal
#

iris?

molten seal
#

what is the problem with iris

small monolith
#

shaders in general break the game

#

which is why theyre a big nono most of the time, especially in modded mc

supple oracle
#

The amount of mixins that mod has...

small monolith
#

i dont want to know honestly

#

xD

#

i already closed and burnt that tab

molten seal
#

now its working

#

thanks for the help

small monolith
#

:p

molten seal
gritty adderBOT
#

Paste version of script.js from @molten seal

molten seal
#

its same problem

#

i made 2 more custom plates they don't work either

#

but why

molten seal
gritty adderBOT
#

Paste version of script.js from @molten seal

molten seal
#

i removed iris but now its other bug texture

#

i changed the code

small monolith
#

and name the textures the same as the ID

molten seal
gritty adderBOT
#

Paste version of script.js from @molten seal

small monolith
#

send me your latest.log

#

no

#

latest

#

/minecraft/logs/latest.log

molten seal
gritty adderBOT
#

Paste version of latest.log from @molten seal

small monolith
#

it doesnt say theres missing textures

molten seal
#

what i need to do

small monolith
#

well the game says you have textures

#

what do you see ingame

knotty briar
#

So I understand correctly, you want to add new items? It works..

molten seal
#

Why doesn't my texture show correctly?

#

send me the code please

knotty briar
gritty adderBOT
#

Paste version of plates.js from @knotty briar

small monolith
#

i feel like im talking to a brick wall when i talk about displayname and texture

#

im out

knotty briar
molten seal
#

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

knotty briar
#

So does what you want work or not?

signal aurora
#

@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

molten seal
#

i try make custum item

#

which will be crafted from steel mi

#

and plate from ad astra

knotty briar
#

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

molten seal
#

modern industralizacion and ad astra

molten seal
#

@knotty briar

signal aurora
#

Ok. Like I said I’d recommend making a MI material for it

knotty briar
knotty briar
molten seal
#

it doesn't work no matter what i do

#

I've probably tried everything

gritty adderBOT
#

Paste version of 22.js from @molten seal

molten seal
#

i tried everything

#

I also changed the textures many times

knotty briar
#

where is .texture('') and .displayName('')

molten seal
#

up

knotty briar
molten seal
knotty briar
#

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.

molten seal
#

@knotty briar here

knotty briar
#

It works, doesn't it?!

molten seal
#

may be i understand why

#

how its possible

#

i make screen right now

molten seal
#

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

knotty briar
#

Wait I put the pack in PolyMc, I quickly install Minecraft for Windows 😄 I hardly ever use this via Cursforge.. Ok in Curseforge it seems to work too

#

And is it working for you now? Is that on purpose that all three items have the same display name?