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 playersexcludePet: Protects tamed wolves, cats, and other petsexcludePassenger: Stops damage to any entity riding inside the minecartexcludeNamedEntity: Protects mobs with custom nametagsexcludeItemEntity: 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.