#i cant get the texture to show up

44 messages · Page 1 of 1 (latest)

amber radish
#

im trying to create a fox hat to my texture and i made some cit items but in this model i can get the texture in game but the texture is just purple and black i tried all the tricks i know but nothing works maybe someone know how to fix it?

void mistBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

amber radish
#

these are all the files the texture is 32,32

faint girder
# amber radish

your foxhat.json model has cubes that are assigned a texture "3" but in the "textures" section at the beginning, the "foxhat" texture is defined as "0"
you can either change that 0 to a 3 or change all the 3's to 0's to make them match

amber radish
#

not working

#

i tried to remove the line with the texture in the properties but still doesnt work

faint girder
amber radish
#

yes

#

changed the 0 to 3 and tried to delete the texture line

#

i checked my other models code and it seem the same

faint girder
# amber radish yes

could you show your file structure? like where your json model, png texture, and properties file are in your pack? If the model works but the texture is not then maybe the texture is in the wrong file location

amber radish
#

sure give me a min

#

ok i cant upload files in files so what i do is i put all the json png and propreties in a single file in the folder of cit then optifine then minecraft then assets

#

do you want a dropbox?

faint girder
amber radish
faint girder
#

if you do want to send files on Discord you will need to zip them first

#

ok that looks good, so in the game when you name the item, it uses your model but not the texture?

amber radish
#

yea

faint girder
#

hm one sec

#

!faq output log

void mistBOT
# faint girder !faq output log
FAQ
Java: Output Log

The output log will show you errors related to resource packs in Minecraft: Java Edition. Here is how you can enable it.
(PS: Optifine likes to hide vanilla errors/warnings for some weird reason, so always load the game up without it if you don't need it for your pack to work!)
If you don't understand the errors/warnings feel free to show and ask about them (in a help channel).

amber radish
#

i use feather

#

but ok

#

give me 2 mins

faint girder
#

I gtg for a while, ping me and I'll check back here when I can

amber radish
#

ok

#

i didnt get any errors or fatals but i did get a warning twice:

Render thread
Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.

#

ok when i turned on the texture pack back i got that warning again so i think it is close

#

@faint girder im going i can talk in like 14 hours

faint girder
amber radish
#

so what should i do?

amber radish
#

@faint girder

faint girder
amber radish
#

ok 1 min

faint girder
# amber radish

ok I see what I missed
instead of "texture": {
it should be "textures": {
doesn't matter if only one is listed, the field is still called "textures"

#

(I should clarify this is in the model file)

amber radish
#

ok im logging in to see if this works

#

yep working

faint girder
#

ayy awesome!
I only noticed it because I fixed the texture in Blockbench and compared it to the old one, it's such a small detail

#

well glad it works now, you can close this forum with "/close" if you don't have any questions!

amber radish
#

tysm