diff --git a/vehiclesplus/configuration/vehicles.md b/vehiclesplus/configuration/vehicles.md index 1ae88d9..8b1c221 100644 --- a/vehiclesplus/configuration/vehicles.md +++ b/vehiclesplus/configuration/vehicles.md @@ -2,7 +2,7 @@ title: Vehicle Configuration description: Configure the base vehicles. published: true -date: 2024-04-07T10:51:36.798Z +date: 2024-04-14T18:25:52.348Z tags: editor: markdown dateCreated: 2023-07-22T14:07:37.924Z @@ -40,22 +40,19 @@ 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 direclty 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 directly 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. -Under the `overrides` section, add a line like this: +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. -```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. +> **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} ###### 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.