#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)

fiery fractal
#

I made Rem's chains as a Mace. I dont know how to put it in minecraft now.

limber wagonBOT
#
Welcome to the help forum!

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.

fiery fractal
#

I made a new model in block bench and made a texture for it, so now how do I put it in minecraft?

echo ruin
limber wagonBOT
# echo ruin !faq export-vanilla-java-model
FAQ
Java: Export Vanilla 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)

fiery fractal
#

i did everything there but its showing this

timid yew
fiery fractal
#

Ya

#

I have both

#

With assets

#

Like in my pack folder i have assets and those 2

echo ruin
#

if it's a proper pack and inside your Minecraft's resourcepacks folder it should show up in your list of available resource packs

fiery fractal
#

i tried but it just doesnt show up

#

i do have multiple textures for it

#

could that be the problem?

echo ruin
#

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?

fiery fractal
#

oh

#

it didnt show .mcmeta when i added another one

#

im able to use the pack now but now it just the error texture

echo ruin
limber wagonBOT
# echo ruin !faq output-log
FAQ
Java: 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).

fiery fractal
#

what does this mean?

echo ruin
limber wagonBOT
# echo ruin !faq invalid-names
FAQ
Java: 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).

echo ruin
#

TL;DR you can't have capital letters in file nor folder names inside the pack

fiery fractal
#

what about the name of the pack?

echo ruin
#

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

fiery fractal
#

just to be sure is mace.json a text document?

echo ruin
#

no, it's a json file

#

(which contains text and can be opened with a text editor, but it's not a .txt file)

fiery fractal
#

oh ok

#

ya

#

but i dont have any uppercase letters in it

echo ruin
#

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

fiery fractal
echo ruin
#

well that does absolutely nothing

fiery fractal
#

wait is it because its custom model dat?

#

oh

echo ruin
#

you are telling the mace to load itself if it has CustomModelData:1 tag

fiery fractal
#

oh

echo ruin
#

you need to reference your custom model there (in that "predicate" line), not itself

fiery fractal
#

how do i do that?

echo ruin
#

where in the pack is your custom model and what did you name it?

fiery fractal
#

assets then minecraft then models then item and i named it mace

echo ruin
fiery fractal
#

ya

echo ruin
#

Then where is your CUSTOM MODEL (the .json file you exported from Blockbench)?

fiery fractal
#

oh the onei showed you is .txt

#

i just saw

#

i named it mace.json

#

but ihave my custom model there

echo ruin
#

and you can't have 2 files of the same type in the same location with the same name

echo ruin
fiery fractal
#

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?

fiery fractal
#

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

fiery fractal
#

i changes the block to item

echo ruin
#

the whole line

fiery fractal
#

ok i did

#

il see if it works

#

its still an error texture

echo ruin
fiery fractal
#

Its the same

echo ruin
#

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?

fiery fractal
#

Ya

echo ruin
#

can you zip and send your current pack?

fiery fractal
#

sorry im late

#

no wait i was able to fix it