Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Taming Locking

Animal-Tame Locking

This feature allows for you to add requirement locks to taming specific entities.

Syntax

Link to IEntityDefinition

script.zs
# Blank Example:
mods.compatskills.AnimalTameLock.addTameLock(IEntityDefinition definition, String... defaultRequirements);
# Working Example:
mods.compatskills.AnimalTameLock.addTameLock(<entity:minecraft:wolf>, "reskillable:mining|5", "reskillable:magic|7");