#Resourcepack not loading into minecraft

50 messages · Page 1 of 1 (latest)

lone herald
#

My resource pack isnt appearing in minecraft resourcepack option. I'm using 1.18.2

quasi jetty
lone herald
#

could you help me with that please? im quite new to this

quasi jetty
#

do you have a pack.mcmeta?

lone herald
#

im not sure what that is

quasi jetty
#

!faq export-vanilla-java-model

shut capeBOT
# quasi jetty !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)

quasi jetty
#

(Step 0)

lone herald
#

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

quasi jetty
#

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

lone herald
#

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

quasi jetty
#

no, instead of 7 you put 8

#

also, you can't have spaces in your file names

lone herald
#

oh

quasi jetty
#

and I'd need to see the first few lines of the (custom) model to see where the model is looking for the textures

lone herald
#

I hope this is what you mean

quasi jetty
#

k, it should be able to load those from where you said they are (assuming they have the correct name ofc)

lone herald
#

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

quasi jetty
#

well, purple/black cube usually means syntax error, not just missing textures

#

check your output log for errors/warnings

#

!faq output-log

shut capeBOT
# quasi jetty !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!)

lone herald
#

I think it wants me to put underscores in the name

#

but when I do that, then the model wont load at all

quasi jetty
lone herald
#

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

quasi jetty
lone herald
#

I'm taking it from item menu in creative

#

its set for iron axe so I thought I'd get it from there

quasi jetty
#

if you just wanna replace all iron axes then just name your model iron_axe

#

(and get rid of the old one)

lone herald
#

oh it works