Soldier Vehicle Properties
This file allows you to define additional behavior and attribute modifiers for Clay Soldiers when they are riding specific mobs.
└─ data
└─ (your data pack name)
└─ data-maps
└─ entity_type
└─ soldier_vehicle_properties.json
The base structure for soldier_vehicle_properties.json
is:
{
"values": {
"modid:entity_type": {
"properties": {
...
},
"predicate": {
...
}
},
...
}
}
For Properties only Soldier Attributes are allowed, but the following cannot be used in vehicle properties:
The predicate test whether this mount can be ridden by a Clay Soldier.
Important
The predicate does not define which mobs can be selected to be ridden only whether the given mob can currently be ridden by the Clay Soldier
Example
{
"values": {
"csr:clay_pegasus": {
"properties": {
"attack_range": 0.25,
"heavy": 0.25
}
},
"minecraft:endermite": {
"properties": {
"teleport_to_owner": {},
"teleportation": {}
}
}
}
}