#How can I get the cosmetic I made in game?

105 messages · Page 1 of 1 (latest)

barren nebula
#

I made a model and I’ve got all the files, but how can I get it in game?

gleaming shoal
#

Ok so

#

Watch a YouTube tutorial

#

Ez

barren nebula
hollow crown
barren nebula
#

!faq export-vanilla-java-model

storm sparrowBOT
# barren nebula !faq export-vanilla-java-model

(Result for "export-vanilla-java-models")
IMPORTANT:
-Any missing folders need to be created if they aren't there yet!
-Do the steps in this exact order!

Step 0: Setup
**-In Blockbench: **
Use the Java Block/Item format. (Check at File > Project... in Blockbench).
If it's not convert it via File > Convert Project. ATTENTION: This can break the model due to format specific restrictions! (see !faq java-rotation and !faq java-sizelimit)

-Setting up your pack:
Create a folder inside Minecraft's resource pack folder (aka "YourPack" for the rest of this guide). It is usually at C:\Users\INSERT_YOUR_PC_USER_HERE\AppData\Roaming\.minecraft\resourcepacks. Put this file https://cdn.discordapp.com/attachments/883449189533638777/899224109869846558/pack.mcmeta in YourPack.
Optionally: Edit it in a text editor and adjust the value of "pack_format" (see https://minecraft.fandom.com/wiki/Pack_format). This only affects whether your pack is shown as "outdated" ingame or not.

Step 1: Saving Textures
Save all your textures first.
To do that either:
-Ctrl+S, or
-click 💾 next to the texture(s), or
-rightclick the texture(s) and click "Save As"
Save them directly within YourPack/assets/minecraft/textures/block/... or /item/....
Reason: If you don't do that or move/rename the files later your model won't find the textures anymore.
(For custom subfolders check !faq java-1.19.3-textures)

Don't use capital letters nor spaces in file/folder names. The model will be invalid ingame!.

Step 2: Exporting the Model
After saving the textures use File > Export > Block/Item export it to YourPack/assets/minecraft/models/item (or /block, but only for placed down blocks.).
Name the file based on the id of the thing you wanna replace (totem_of_undying for a Totem of Undying for example). Check the default pack if you are not sure what the exact name is (see !faq default-pack for more information)

barren nebula
#

With the textures yeah

hollow crown
#

k, then what the bot said (assuming you are using the downloaded version of Blockbench)

barren nebula
#

Is there any commands so I can give them? So I can sell it in my minecraft shop so people can buy it?

barren nebula
#

@hollow crown i must be something wrong or something but my model won't appear in game?

hollow crown
hollow crown
barren nebula
#

carved_pumpkin.json

hollow crown
#

you have a capital i in your folder name (You have Item, but it should be item)

barren nebula
#

I think it shouldn't be like that

#

@hollow crown
I fixed up the code, but it still doesn't work. It just shows like that?

hollow crown
#

do any of your files or other folders contain capital letters? (and/or spaces?)

barren nebula
#

nope

hollow crown
#

open your carved_pumpkin.json in a text editor and show the first ~10 lines of text

barren nebula
#

and this is my hat.json

#

@hollow crown ?

hollow crown
#

where in your pack is the texture?

hollow crown
# barren nebula

also, replace the "parent" AND the "textures" section (not just the two lines, the whole sections btw.) with
"parent": "block/carved_pumpkin",
if you want your normal carved pumpkin to not look broken

hollow crown
#

no

#

you replace that whole section up there with that one line

#

the parent already defines the textures, so you don't the textures section in your item model too

hollow crown
#

remove that } after the "parent" line (keep the , though)

barren nebula
barren nebula
hollow crown
barren nebula
#

oh

hollow crown
#

the other thing was just to fix your normal carved pumpkin, not your custom model

hollow crown
#

k, that looks fine

#

just in case, can you sedn the hat.png in here?

barren nebula
hollow crown
#

did you just drag and drop this into Discord or did you do it in some other way?
cause it says image.png for me

barren nebula
#

i clicked on it

#

and copied

#

there

#

@hollow crown

hollow crown
#

hmm, that looks fine 🤔

#

yeah, I don't see a reason why that wouldn't load

#

any client mods?

barren nebula
#

i use lunar client

hollow crown
#

try on the default client just in case and enable the output log

#

!faq output-log

storm sparrowBOT
# hollow crown !faq output-log

The output log will show you errors related to resource packs in Minecraft: Java Edition. Here is how you can enable it: https://i.imgur.com/WbQZa6k.png
(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).

barren nebula
#

lemme try normal mc

barren nebula
#

@hollow crown

hollow crown
#

do you have the same pack several times?

#

cause that sounds like what it would throw before you edited carved_pumpkin.json

barren nebula
hollow crown
#

like copies of the pack or something like that

barren nebula
#

no

hollow crown
# barren nebula

cause that error/warning message would appear with this carved_pumpkin.json, not with the one you have now

barren nebula
#

i don't think so

#

i just have those

hollow crown
# barren nebula

you are editing your files on Desktop or OneDrive folder, but the game doesn't load packs from there

hollow crown
#

yes

barren nebula
#

this too?

hollow crown
#

yep

barren nebula
#

now it ain't appearing in game

#

still get this

#

the pumkin blur worked

hollow crown
#

now it says it has a problem with loading a texture "hat/hat", but you didn' specify that in carved_pumpkin, have you 🤔 ?

hollow crown
#

can you show your hat.json again (the one directly in your resource pack)

hollow crown
#

weird

#

can you zip and send your resource pack?

barren nebula
hollow crown
#

That's what it says in your custom model (hat.json) for me

barren nebula
#

And it is

#

hat

barren nebula
barren nebula
hollow crown
#

close all your open files in VSCode, close VSCode, then open it again and see if it still says your version

hollow crown
barren nebula
hollow crown
#

what "nope"?

barren nebula
#

but it doesn't load the model

hollow crown
#

has the warning changed?

#

or does it still say hat/hat?

barren nebula
#

i'm just relaunching mc real quick

barren nebula
#

still won't work tho'

barren nebula
#

@hollow crown do u know how i can fix it or?

hollow crown
#

idk why it doesn't work for you