Custom Models - TheClowner/ccRides-Support GitHub Wiki
ccRides supports using custom item models for the seats of a ride, rather than a minecart.
Support is not offered for creating models or resource packs. I will only offer support on how it needs to be setup to work with ccRides!
To start using custom models, you'll first need to create a resource pack with some custom models in:
These models will need to be assigned to a handheld item (eg GOLDEN_PICKAXE, EMERALD, COAL), and assigned to specific data values for that item. This means the model will not show up if someone gets a regular version of the item.
You can also assign multiple models to the same item, with different data values.
Depending on your game version, there are two different ways to assign the models to items:
For Minecraft version 1.14 and above: use
custom_model_data
For Minecraft version 1.9 to 1.13: usedamage
damagevalues will not work in 1.14 and above, you can only usecustom_model_data!
Click here for a more detailed tutorial.
Example Item File (carrot_on_a_stick.json):
{
"parent": "item/handheld_rod",
"textures": {
"layer0": "items/carrot_on_a_stick"
},
"overrides":[
{"predicate": {"custom_model_data":3}, "model":"item/custom/model_3"},
{"predicate": {"custom_model_data":2}, "model":"item/custom/model_2"},
{"predicate": {"custom_model_data":1}, "model":"item/custom/model_1"}
]
}Click Here for a more detailed tutorial.
Example Item File (wood_hoe.json):
{
"parent": "item/handheld",
"textures": {
"layer0": "items/wood_hoe"
},
"overrides": [
{"predicate": {"damaged": 0, "damage": 0.03333333333333}, "model": "item/model_2"},
{"predicate": {"damaged": 0, "damage": 0.01666666666667}, "model": "item/model_1"},
{"predicate": {"damaged": 1, "damage": 0}, "model": "item/wooden_hoe"}
]
}You can make any ride Entity into a custom model.
- Set the entity
TYPEto eitherITEM_DISPLAY
/rideadm <rideName> entitySettings <entity> TYPE ITEM_DISPLAY
- Get an item with the model you wish to use
- Set the entity
ITEM_TYPE, while holding your model in your main hand.