#How do i export my model into my game and also replace it with an java item?
1 messages · Page 1 of 1 (latest)
!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 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)
@trail pagoda
are there some pictures for me so i can understand better? D:
for context, what part do you not understand well?
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:
extra files?
like when i have my folder which will be the pack (Named: TotemPack) and what files i need to put in and where
It tells you exactly what you need to put where and what folders you need to have. (You need to make any missing folders)
But i don't really understand it. It would be really nice i have an example...
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
okay i try it
Are these the only files i need in my pack folder now? or did i do something wrong lol
Are these all files i need?
you need a .json and a .png file
and those 2 files need to be in specific folders as explained in the faq
And nowhere does it say to keep a bbmodel there. Minecraft doesn't read those.
so the last file out? from blockbench
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
what step? Im to confused rn
okay so the .json file i already have in my folder right? so i only need the png
no
cause you skipped step 1 and did step 2 first and have none of the required folders (based on the screenshot you sent)
I need the folders in my pack : assets --> minecraft --> textures and item ?
for the texture(s), yes
So when i have assets folder i put the minecraft folder in asstes or just leave it
what do you mean by "or just leave it"?
no
the guide didn't say "make 4 folders named ... in assets", it said "put file in assets/minecraft/..."
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
... are you reading right to left or left to right?
also have you never seen a file path before?
im pretty new to this, sorry
this has nothing to do with Minecraft, this is general computer knowledge
so i guess i need to do it the other way?
Yes ik and i dont really have that knowledge about computers
So rn im having the assets folder and if i click on it i have a new folder ,,minecraft,, and then after a new clich there is textures,... is that right?
yes
okay
And if i have more textures than 1 i need to put them all in the textures one or what?
you put them all in texures/item
so i gotta click on that and put them into this folder?
yes
okay
and the .json file needs to be in the item folder aswell?
the .json file needs to be in models/item (assuming you wanna replace an item and not a block)
so do i need to make a new assets folder with minecraft-->models-->items?
you can't make 2 folders with the same name
so if a folder already exists you just open it
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?
Yes, any missing folders need to be made by you in the right location. That was said in the FAQ.
so do i put the models folder in the item folder? right?
no
huh
where does it say "put the models folder in the item folder" ?
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?
where does the faq say that it needs to be?
I need to safe my .json file in the models folder right? and i dont have that models folder
again, where does the faq say that the models folder need to be?
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
yes, and in which folder is that models folder? (in the faq)
textures?
where in YourPack/assets/minecraft/models/items did you see "textures"?
okay well then models is in the minecraft folder
yes
but still i don't have the models folder in the minecraft folder
Because u created the pack
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
as we and the faq have told you several times: if a folder isn't there yet you make one
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,,
yes
okay
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
What name u make to totem
Wait one question... in my model folder there needs to be an item folder or not?
Depent if u want custom model data
If no, u dont need
Wait we can text per dm okay?