#How to transfer a model into the game?

41 messages ยท Page 1 of 1 (latest)

green whale
#

Hi! I'm new to this program, but I really enjoyed using it. I've watched a lot of guides, but I'm completely confused about how to transfer the model into the game (1.20.1). Does anyone have any insight?

errant jungleBOT
#
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.

green whale
#

I apologize in advance for my English, it is not my native language.

prime salmon
errant jungleBOT
# prime salmon !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)

green whale
#

Was it possible? Thanks@prime salmon

green whale
#

Thank you, this is some kind of result, but it's still not what I want. What am I doing wrong?

prime salmon
green whale
#

What is the source block in the plan?

prime salmon
#

The tutorial was for how to get your model onto a block or item ingame.
What block or item did you put your model on?

green whale
#

I took the plush toy model that the mod adds. Or is that not allowed?

prime salmon
#

k, in that case it very much depends on how the mod handles the block.
If it uses a normal Block/Item model then it should load your model if you named it correctly and placed it in the right folders inside your pack.
If it uses an entity model it will completely ignore your model, use your texture (if you overwrote the mod's texture) and apply it to their model.

green whale
prime salmon
#

For debugging purposes, try replacing, for example, a poppy with your model just to see if that works fine.

#

Alternatively double check the model location and name of the mod's plush and if you named/positioned your model file in your pack properly.

green whale
#

Okay, I'll try now. If possible, I'd like to send both the model and the resource pack.

green whale
#

I just changed the name of the files to the desired block, then checked

#

Can I send files so that everything would be much clearer?

prime salmon
green whale
green whale
#

and so yes, the structure is like this

prime salmon
green whale
#

but unfortunately, something doesn't want to

prime salmon
#

but you need to rename the namespace to "minecraft", instead of "plushy_buddies"

#

cause totem_of_undying is a minecraft item, not an item added by the plushy_buddies mod

green whale
green whale
prime salmon
#

postmark?

green whale
#

?

prime salmon
#

if you rename this folder to minecraft it should work

green whale
#

Okay, I'll try.

prime salmon
#

Well, and you'd need to adjust the texture paths inside the .json model file to minecraft: as well.

green whale
#

Okay, I'll try it. I'll tell you the result later

green whale
#

Thank you! I've been struggling with this for 2 days. It turns out to be so simple. So, the principle is the same for changing the block?

prime salmon
green whale