WikiWiki
Home
  • Getting Started
  • Wiki
  • Creating Your Own Items
Home
  • Getting Started
  • Wiki
  • Creating Your Own Items
  • Content

    • Creating Your Own Items
    • Custom Items
    • Creating Soldier POIs
    • Adding new Teams
    • Item Set Types
    • Tags
    • Examples
    • Item Properties
    • Soldier Attributes
    • Common Values

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:
Contributors: XcraX1