Skip to main content

Taming

Enable pet-like behavior for entities. Tamed entities follow their owner and can be commanded to sit.

Basic Usage

my_pet:
Model: pet_model
Display: '&ePet'
Taming:
item: minecraft:bone
chance: 0.33

Options

OptionTypeDefaultDescription
itemstringminecraft:boneItem used to tame
chancefloat0.33Success chance per use (0-1)
follow_distancefloat10.0Distance to start following
stop_distancefloat2.0Distance to stop following
teleport_distancefloat12.0Distance to teleport to owner
can_sitbooleantrueCan be ordered to sit
follow_speedfloat1.0Speed multiplier when following

Behavior

Taming Process

  • Use the configured item on an untamed entity
  • Each use has a chance probability of success
  • Hearts appear on success, smoke on failure
  • Once tamed, the entity belongs to that player

Following

  • Follows owner when follow_distance blocks away
  • Stops when within stop_distance blocks
  • Teleports if owner exceeds teleport_distance
  • Won't follow while sitting

Sitting

  • Right-click a tamed entity to toggle sitting
  • While sitting, stays in place
  • Requires can_sit: true

Default AI

Without AIGoals, tamed entities automatically get these goals:

  1. sitwhenordered
  2. followowner
  3. float
  4. lookatplayer
  5. lookaround

Specify AIGoals for full control.

Pet Triggers

Use these in Skills for taming-specific animations:

TriggerDescription
~tamedWhile entity is tamed
~untamedWhile entity is not tamed
~sittingWhile entity is sitting

Examples

Basic Pet

pet_wolf:
Model: wolf
Display: '&7Pet Wolf'
Type: Wolf
Taming:
item: minecraft:bone
chance: 0.33

Rare Tame

pet_dragon:
Model: dragon_hatchling
Display: '&5Baby Dragon'
Taming:
item: minecraft:dragon_breath
chance: 0.1
follow_distance: 15.0
teleport_distance: 20.0
follow_speed: 1.5

Pet with Animations

pet_fox:
Model: custom_fox
Display: '&6Tamed Fox'
Taming:
item: minecraft:sweet_berries
chance: 0.25
can_sit: true
Skills:
- animation{name=idle, mode=loop} ~idle
- animation{name=walk, mode=loop} ~moving
- animation{name=sit, mode=hold} ~sitting
- animation{name=happy, mode=loop} ~tamed
- animation{name=wary, mode=loop} ~untamed

Pet with Sleep

husky:
Model: husky
Display: '&fHusky'
Taming:
item: minecraft:bone
chance: 0.33
can_sit: true
Skills:
- animation{name=idle, mode=loop} ~idle
- animation{name=run, mode=loop} ~moving
- animation{name=sit, mode=hold} ~sitting
- animation{name=sleep, mode=hold} ~idle{time=5, once=true}