#I made a new model in block bench and made a texture for it, so now how do I put it in minecraft?
86 messages · Page 1 of 1 (latest)
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.
I made a new model in block bench and made a texture for it, so now how do I put it in minecraft?
!faq export-vanilla-java-model
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)
do you have a pack.mcmeta or pack.png maybe
how are you trying to load in that pack?
if it's a proper pack and inside your Minecraft's resourcepacks folder it should show up in your list of available resource packs
i tried but it just doesnt show up
i do have multiple textures for it
could that be the problem?
as long as it's .minecraft/resourcepacks/YourPack/pack.mcmeta or .minecraft/resourcepacks/YourPack.zip/pack.mcmeta it should show in the list
can you send your pack.mcmeta as file?
oh
it didnt show .mcmeta when i added another one
im able to use the pack now but now it just the error texture
!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.
(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).
what does this mean?
!faq invalid-names
Files/Folders nor reference to them are allowed to contain capital letters nor spaces.
Valid symobls are: a-z (lowercase only!) 0-9 / . _ and -
When changing a file's/folder's name, keep in mind that you also need to update all references (texture path in models, model paths in custom_model_data predicates etc.)
Disclaimer: Optifine used to allow those characters, but for a vanilla client the model will either be the error cube or it might even crash their game (depending on their specs).
TL;DR you can't have capital letters in file nor folder names inside the pack
what about the name of the pack?
that can have capital letters
you just can't have any files/folders inside the pack with capital letters, spaces or most special symbols
in your case your mace.json seems to try to reference something called "Mace" at some point
just to be sure is mace.json a text document?
no, it's a json file
(which contains text and can be opened with a text editor, but it's not a .txt file)
open mace.json in a text editor of your choice and show the first ~10 lines of text
well that does absolutely nothing
you are telling the mace to load itself if it has CustomModelData:1 tag
oh
you need to reference your custom model there (in that "predicate" line), not itself
how do i do that?
where in the pack is your custom model and what did you name it?
assets then minecraft then models then item and i named it mace
isn't this mace.json?
ya
Then where is your CUSTOM MODEL (the .json file you exported from Blockbench)?
oh the onei showed you is .txt
i just saw
i named it mace.json
but ihave my custom model there
packs do not use .txt files
and you can't have 2 files of the same type in the same location with the same name
so your mace.json (the one exported from Blockbench) has "Mace" somewhere in it (within the first couple lines of text)
the one i exported from blockbench just takes me to the model in blockbench
ok i might understand the problem now
i need a mace.json file and open it with text
but how do i get the text thats supposed to be in it?
ok wait
now i get it
i change it from going to blockbench to notepad
now i see it
i changed it to mace instead of Mace
oh and i have 7 textures for it
what's the current error in the output log?
Its the same
so after saving your changes in the text editor and reloading the pack ingame (F3+T) it sends another messages that "Mace" isn't valid?
Ya
can you zip and send your current pack?