#How can I get the cosmetic I made in game?
105 messages · Page 1 of 1 (latest)
You can just say it?
When you say "cosmetic" what do you mean exactly? Just an item model?
If yes, type !faq export-vanilla-java-model
If no please specify more.
!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 atFile > Project...in Blockbench).
If it's not convert it viaFile > Convert Project. ATTENTION: This can break the model due to format specific restrictions! (see!faq java-rotationand!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 withinYourPack/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 useFile > Export > Block/Itemexport it toYourPack/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-packfor more information)
The model I made
With the textures yeah
k, then what the bot said (assuming you are using the downloaded version of Blockbench)
Yes
Is there any commands so I can give them? So I can sell it in my minecraft shop so people can buy it?
@hollow crown i must be something wrong or something but my model won't appear in game?
idk, really depends on what you use and how they want it (which I won't know)
what did you name your .json model and where in your pack is it?
carved_pumpkin.json
you have a capital i in your folder name (You have Item, but it should be item)
uhm
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?
do any of your files or other folders contain capital letters? (and/or spaces?)
nope
open your carved_pumpkin.json in a text editor and show the first ~10 lines of text
where in your pack is the texture?
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
like that?
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
?
remove that } after the "parent" line (keep the , though)
still doesn't work
well, you haven't answered that yet
oh
the other thing was just to fix your normal carved pumpkin, not your custom model
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
hmm, that looks fine 🤔
yeah, I don't see a reason why that wouldn't load
any client mods?
i use lunar client
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).
lemme try normal mc
aight
want me to send it here?
@hollow crown
do you have the same pack several times?
cause that sounds like what it would throw before you edited carved_pumpkin.json
same pack?
like copies of the pack or something like that
no
cause that error/warning message would appear with this carved_pumpkin.json, not with the one you have now
you are editing your files on Desktop or OneDrive folder, but the game doesn't load packs from there
this looks good?
yes
this too?
yep
now it says it has a problem with loading a texture "hat/hat", but you didn' specify that in carved_pumpkin, have you 🤔 ?
can you show your hat.json again (the one directly in your resource pack)
wut
try to fix that and send it over
close all your open files in VSCode, close VSCode, then open it again and see if it still says your version
it does
nope
what "nope"?
i'm just relaunching mc real quick
No warning anymore
still won't work tho'
@hollow crown do u know how i can fix it or?
idk why it doesn't work for you