#Resourcepack not loading into minecraft
50 messages · Page 1 of 1 (latest)
then your pack.mcmeta has a problem, is named wrong or is not at the correct position (or doesn't exist in the first place)
could you help me with that please? im quite new to this
do you have a pack.mcmeta?
im not sure what that is
!faq export-vanilla-java-model
(Result for "export-vanilla-java-models")
Disclaimers:
-This is a tutorial to get your item/block models into a normal Java Edition resource pack.
-Any folders that are mentioned need to be created if they aren't there yet!
-Do the steps in that exact order!
Step 0: Setup
In Blockbench:
Your project needs to be in the Java Block/Item format. (Check at File > Project... in Blockbench).
If it's not convert it via File > Convert Project. ATTENTION: This will break the model visually due to format specific restrictions! (see !faq java-rotation and !faq java-sizelimit)
-Your Pack:
Create a folder inside Minecraft's resource pack folder (will be referred to as "YourPack" for the rest of this tutorial). 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 there.
Step 1: Saving Textures
Save all your textures first.
To do that either:
-press Ctrl+S, or
-click on the save icon next to the texture(s), or
-rightclick the texture(s) and click "Save As"
Make sure to save them directly in any subfolder of YourPack/assets/minecraft/textures.
Reason: If you don't do that or move/rename the files later your model won't find the textures anymore.
Do not use any capital letters or spaces in file or folder names or they will be invalid for a vanilla client! (except for the pack's main folder).
Step 2: Exporting the Model
After saving the textures use File > Export > Block/Item and save the json file in YourPack/assets/minecraft/models/item (or /block, depending whether you replace an item in your inventory etc. or a placed block.).
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)
(Step 0)
oh now its appearing
it says made for older version of minecraft tho
would you know why that might be or how to update it for newer versions? I'm running 1.18.2
change the pack_format value in the pack.mcmeta file (with any text editor)
also, that number has no effect whatsoever besides showing that message
so instead of 7, I put 1.18.2?
would you also help me with my textures not loading please?
they are in this path
and my model is in this path
oh
and I'd need to see the first few lines of the (custom) model to see where the model is looking for the textures
I hope this is what you mean
k, it should be able to load those from where you said they are (assuming they have the correct name ofc)
they are
but the item appears as a purple/black bock
here I changed the name of the model so it has _ in it and now the model doesnt load whatsoever
well, purple/black cube usually means syntax error, not just missing textures
check your output log for errors/warnings
!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!)
I think it wants me to put underscores in the name
but when I do that, then the model wont load at all
yeah, you need to put it in the file name AND in the custom_model_data reference (like you have done here)
what exactly do you mean?
this is the name of the file
and this is the custom model data reference
like this, when I load the resource pack, the iron axe looks normal, without my model
what's the command you used to get the iron axe?
I'm taking it from item menu in creative
its set for iron axe so I thought I'd get it from there
you set it to be on an iron axe IF it has the CustomModelData:123456 NBT
if you just wanna replace all iron axes then just name your model iron_axe
(and get rid of the old one)
oh it works