#How do i export my model into my game and also replace it with an java item?

1 messages · Page 1 of 1 (latest)

trail pagoda
#

How do i export my model into my game and also replace it with an java item?

serene crest
#

!faq export-vanilla-java-model

sharp carbonBOT
# serene crest !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 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)

serene crest
#

@trail pagoda

trail pagoda
serene crest
#

for context, what part do you not understand well?

trail pagoda
#

Like How i need to name all extra files in my folder for the pack and where to put everything. So maybe Step 1 and 2 D:

serene crest
#

extra files?

trail pagoda
#

like when i have my folder which will be the pack (Named: TotemPack) and what files i need to put in and where

proud adder
#

It tells you exactly what you need to put where and what folders you need to have. (You need to make any missing folders)

trail pagoda
#

But i don't really understand it. It would be really nice i have an example...

serene crest
#

the examples are literally there
the only thing that the guide doesn't tell you is your .json model file name, cause that solely depends on what model you wanna replace

#

though there is an example of totem_of_undying.json

trail pagoda
#

okay i try it

#

Are these the only files i need in my pack folder now? or did i do something wrong lol

serene crest
#

you need a .json and a .png file
and those 2 files need to be in specific folders as explained in the faq

proud adder
#

And nowhere does it say to keep a bbmodel there. Minecraft doesn't read those.

trail pagoda
serene crest
#

you don't need a .bbmodel in a pack (it will do absolutely nothing ingame)

#

so all it does is basically just make the pack bigger

serene crest
#

in step 1 and step 2 respectively

#

.png = the texture, .json = the model

trail pagoda
#

okay so the .json file i already have in my folder right? so i only need the png

serene crest
#

no

#

cause you skipped step 1 and did step 2 first and have none of the required folders (based on the screenshot you sent)

trail pagoda
#

I need the folders in my pack : assets --> minecraft --> textures and item ?

serene crest
#

for the texture(s), yes

trail pagoda
#

So when i have assets folder i put the minecraft folder in asstes or just leave it

serene crest
#

what do you mean by "or just leave it"?

trail pagoda
#

wait ill send a picture

#

like this?

serene crest
#

no

#

the guide didn't say "make 4 folders named ... in assets", it said "put file in assets/minecraft/..."

trail pagoda
#

so do i put the assets folder into the minecraft one and the minecraft folder in the textures one and then the folder into the item folder?

#

or which way

serene crest
#

... are you reading right to left or left to right?

#

also have you never seen a file path before?

trail pagoda
serene crest
#

this has nothing to do with Minecraft, this is general computer knowledge

trail pagoda
trail pagoda
trail pagoda
serene crest
#

yes

trail pagoda
#

okay

#

And if i have more textures than 1 i need to put them all in the textures one or what?

serene crest
#

you put them all in texures/item

trail pagoda
#

so i gotta click on that and put them into this folder?

serene crest
#

yes

trail pagoda
#

okay

trail pagoda
serene crest
#

the .json file needs to be in models/item (assuming you wanna replace an item and not a block)

trail pagoda
#

so do i need to make a new assets folder with minecraft-->models-->items?

serene crest
#

you can't make 2 folders with the same name

#

so if a folder already exists you just open it

trail pagoda
#

but in my assets folder i dont have the folder namend models cuz i only have one with textures... do i just make a new folder named models and put it where?

proud adder
#

Yes, any missing folders need to be made by you in the right location. That was said in the FAQ.

trail pagoda
#

so do i put the models folder in the item folder? right?

serene crest
#

no

trail pagoda
#

huh

serene crest
#

where does it say "put the models folder in the item folder" ?

trail pagoda
#

idk but let me sent a picture rq

#

So i made that folder which says models cuz i don't had that yet and where do i have to put it now?

serene crest
#

where does the faq say that it needs to be?

trail pagoda
#

I need to safe my .json file in the models folder right? and i dont have that models folder

serene crest
#

again, where does the faq say that the models folder need to be?

trail pagoda
#

In STep 2 there is this file chain which says YourPack/assets/minecraft/models/items and there is that one folder anmed models and i dont have that

serene crest
#

yes, and in which folder is that models folder? (in the faq)

trail pagoda
#

textures?

serene crest
#

where in YourPack/assets/minecraft/models/items did you see "textures"?

trail pagoda
#

okay well then models is in the minecraft folder

serene crest
#

yes

trail pagoda
#

but still i don't have the models folder in the minecraft folder

gaunt saffron
#

All Minecraft item is already loading

#

So

#

Just do :

#

YourPack/assets/Minecraft/models/item
Put ur item in whit the name exemple : diamond_sword
And it will work

serene crest
trail pagoda
#

But i dont have that model section in my folder HUH i click on my Pack Folder then i click on assets then on minecraft then there is the folder ,,textures,, and then ,,items,,

#

so i go in my minecraft folder under assets

#

and make a new folder

#

,named ,,models,,

serene crest
#

yes

trail pagoda
#

okay

trail pagoda
# serene crest yes

okay i have that .json file now in the models folder... can i now just start the game or do i need to do any more steps? .-. i now should have done all steps in the faq

#

Because i think i did something wrong... I can sellect that texture pack but my Totem isn't the model

trail pagoda
gaunt saffron
#

If no, u dont need

trail pagoda