You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code tells the game which model file to look for. The model file should be in the `assets/<declared namespace>/models/<declared path>` folder.
20
29
<br>For example, if you have a model in `models -> weapons -> swords -> basic -> iron -> noob_sword.json`, it would look like `"model": "your_namespace:weapons/swords/basic/iron/noob_sword"`.
21
30
<br>You should also name your custom model data with a unique prefix number that makes sense to you to avoid conflicts with other custom model data packs.
22
31
23
32
## New Model
24
33
Then, create a model file in the folder you declared in the previous step.
25
34
<br>This is the json file that tells the game where to place and render the textures. In this file, you are telling the game which texture file(s) to look for.
26
-
<br>The texture file(s) should be in the `assets/<declared namespace>/textures/<declared path>` folder. You can use assets that are already in the game or your own textures.
35
+
<br>You can create your own folder for this, and this will likely make it easier to find things if you are making a large pack.
36
+
<br>If making your own folder, you will put it under the `assets` directory. For this demonstration I will be creating a directory called `custom_model_data_guide_assets` to put the models and textures into
37
+
<br>
38
+
<br>This will be the model that you exported from blockbench/another software if you used one - or if you're just using a hand-made texture, you can make your own. I will be making my own for this demonstration - it looks like this:
This must be named and in the location that was declared in the override from earlier. So for this demonstration, this file must go into `custom_model_data_guide_assets/models/item` and then be named `uno_reverse_model.json`
49
+
50
+
## Textures
51
+
The texture file(s) should be in the `assets/<declared namespace>/textures/<declared path>` folder. You can use assets that are already in the game or your own textures.
27
52
<br>If you export a blockbench model file, you might need to manually adjust the texture file assignments in the case that it was not getting the files from the same place that you are getting them in the pack.
53
+
<br>For this demonstration, the file must be in the `custom_model_data_guide_assets/textures/item` folder, and be named `uno_reverse_texture`
28
54
29
55
### Final
30
56
You need an mcmeta file or your pack won't work. [misode.github.io](https://misode.github.io/pack-mcmeta/) has a generator, as well as many other very helpful resources for data/resource packs.
0 commit comments