Compare commits
No commits in common. "2406af448939b01240f5d3f257bea09cc193e55e" and "923071bcada58b5c6e737de3c1df7a6d64e1d9f0" have entirely different histories.
2406af4489
...
923071bcad
2 changed files with 10 additions and 7 deletions
BIN
image.png
BIN
image.png
Binary file not shown.
Before Width: | Height: | Size: 4.8 KiB |
|
@ -2,7 +2,7 @@
|
|||
title: Vehicle Configuration
|
||||
description: Configure the base vehicles.
|
||||
published: true
|
||||
date: 2024-04-14T18:25:52.348Z
|
||||
date: 2024-04-07T10:51:36.798Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2023-07-22T14:07:37.924Z
|
||||
|
@ -40,19 +40,22 @@ Open the `pack.mcmeta` file. Change the `pack_format` to the correct number acco
|
|||
| `3` | `4` | `5` | `6` | `7` | `8` | `9` | `12` | `13` | `15` | `18` |
|
||||
|
||||
###### Step 4: Install the model files
|
||||
Now its time to install the model's files inside the resourcepack. Most of the time, a `.json` file is included with your model. You can directly put this file in the `assets/vp/models/item` folder.
|
||||
Now its time to install the model's files inside the resourcepack. Most of the time, a `.json` file is included with your model. You can direclty put this file in the `assets/vp/models/item` folder.
|
||||
|
||||
If any textures files are included (most of the time, this is not the case), insert them into the `assets/vp/textures/item` folder.
|
||||
|
||||
###### Step 5: Add the models to the correct item
|
||||
VehiclesPlus uses an item to make the models visible. You can choose any item you want, by default the plugin uses the `leather_boots` for models.
|
||||
|
||||
The easist way to generate the file for an item is using the [Model File Generator](https://vpmodelfiletool.sbdevelopment.tech/). Just enter the name of the model files and download the file.
|
||||
Under the `overrides` section, add a line like this:
|
||||
|
||||
> **Example:** If you put the `ferrari_roma.json` file in the `assets/vp/models/item` folder, leave the Namespace as `vp` and use `ferrari_roma` as the model name.
|
||||
>
|
||||
> ![image.png](/image.png)
|
||||
{.is-info}
|
||||
```json
|
||||
"overrides": [
|
||||
{ "predicate": {"custom_model_data":1}, "model": "vp:item/YOURMODEL"}
|
||||
]
|
||||
```
|
||||
|
||||
Replace `YOURMODEL` by the name of the `.json` file (excluding the extension!). Replace the `1` by the data number you want to assign. This must be unique for the `leather_boots` file. Remember this number for step 5.
|
||||
|
||||
###### Step 6: ZIP the contents
|
||||
Now your resourcepack is ready! Zip the `assets` folder and the `pack.mcmeta` to one ZIP file and install it inside your Minecraft client to test it out.
|
||||
|
|
Reference in a new issue