Entity Damage Locking

Link to entity-damage-locking

Entity-Damage Lock

Link to entity-damage-lock

This feature allows you to lock the ability to attack/damage specific entities.

Link to IEntityDefinition

Copy
# Blank Example:
mods.compatskills.EntityDamageLock.addEntityLock(IEntityDefinition definition, String... defaultRequirements);

# Working Example:
mods.compatskills.EntityDamageLock.addEntityLock(<entity:minecraft:zombie>, "reskillable:mining|5", "reskillable:magic|7");