Entity task reference¶
BREED¶
Counts an entity-breeding event credited to the assigned player. This type is registered on Minecraft 1.10 and newer.
- Target: New entity type.
- Progress: One per breeding event.
- Common mistake: The assigned player must be the breeder reported by the event.
FISH_ENTITY¶
Counts an entity caught with a fishing rod.
- Target: Caught entity type.
- Progress: One per catch event.
- Common mistake: Caught item entities also enter the entity event. Use
FISH_ITEMfor material targets.
KILL¶
Counts a living entity killed by the assigned player.
- Target: Killed entity type.
- Progress: One per entity.
- Common mistake: The player must be reported as the killer.
MILK¶
Counts a successful player interaction that milks a cow.
- Target: None.
- Progress: One per allowed interaction.
- Common mistake: A cancelled interaction does not count.
SHEAR¶
Counts a successful entity-shear event.
- Target: None.
- Progress: One per allowed shear event.
- Common mistake: Use
sheep_colorto restrict sheep color; do not add a target.
TAME¶
Counts an entity tamed by the assigned player.
- Target: Tamed entity type.
- Progress: One per tame event.
- Common mistake: The new owner must be a player.
Entity conditions¶
Use sheep_color only for sheep events. Use required_villager only where the event can contain a villager. An unrelated entity condition can allow the event instead of blocking it.