Rims
Rims are the wheel designs used by car wheel parts. A rim design controls which item/model a wheel shows.
Rim designs
Each rim design is an HJSON file in:
/plugins/VehiclesPlus/rims/<name>.hjson
The default design:
{
name: default
skin: {
material: LEATHER_CHESTPLATE
custommodeldata: 1
color: { red: 160, green: 101, blue: 64 }
}
position: HEAD
price: 1000
}
| Key | Description |
|---|---|
name | The rim id. Wheels reference it via rimDesignId. Must match the file name. |
skin | The item shown for the wheel (material + optional custommodeldata + color). |
position | Where the item sits on the armor stand: HEAD, LEFT_HAND or RIGHT_HAND. |
price | Price of the rim (used when players buy/apply it). |
To add a new rim, copy default.hjson, rename it and the name, point custommodeldata at your wheel model, and set a price.
Using a rim on a wheel
In a car model, set each wheel's rimDesignId:
{ type: wheel, rimDesignId: default, steering: true, ... }
The rim used by default-generated vehicles is configured in config.yml → defaultRimDesignId.
Giving a rim item
/addon givewheel <player> <rimDesign> gives a player a wheel item of a specific design.