WikiWiki
  • 1.21.1
Home
  • Getting Started
  • Wiki
  • 1.21.1
Home
  • Getting Started
  • Wiki

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:

  • throwable
  • evacuation
  • attack_type

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": {}
      }
    }
  }
}
Last Updated: 5/10/25, 1:57 PM
Contributors: XcraX1