Wiki 9Minecraft Wiki 9Minecraft
Kinetic Minecart Wiki › Guides › Protect Specific Mobs from Minecart Damage

Protect Specific Mobs from Minecart Damage

Using Built-in Exclusion Toggles

The mod includes quick toggles for common protection scenarios:

  • excludePlayer: Prevents damage to you and other players
  • excludePet: Protects tamed wolves, cats, and other pets
  • excludePassenger: Stops damage to any entity riding inside the minecart
  • excludeNamedEntity: Protects mobs with custom nametags
  • excludeItemEntity: Prevents dropped items from being destroyed

Enable any of these by setting them to true in your configuration.

Custom Entity Exclusion List

For more precise control, enable enabledExclusionList and add specific entity identifiers to the exclusionList array. For example, adding "minecraft:villager" will protect all villagers from minecart collisions.

Use the format: "minecraft:entity_name" for each mob type you want to exclude. This approach lets you protect specific mobs while allowing damage to others.