Mob Tempt Range (tempt_range)

Attributes

From what distance an animal notices the player's favorite food in hand and follows it: 10 blocks, 16 blocks for a happy ghast.

  • by default 10
  • from 0 to 2048
  • Minecraft 26.3
My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

On this page 6 sections

At a glance

Chat command — below

  • Check mob attribute
    /attribute @n[type=!player] minecraft:tempt_range get

By default 10 The player does not have this attribute; the game accepts values from 0 to 2048.

Purpose

From what distance an animal notices the player's favorite food in hand and follows it: 10 blocks, 16 blocks for a happy ghast.

For mobs

Here only mobs with a base different from default (10).

Numbers

WhatValue
IDminecraft:tempt_range
By default10
For the playerno
Bordersfrom 0 to 2048
What is measuredblocks
Sees the clientno, only on server
Name in the English gameMob Tempt Range

Frequently asked questions

What does the tempt_range attribute do?

From what distance an animal notices the player's favorite food in hand and follows it: 10 blocks, 16 blocks for a happy ghast.

Does the player have tempt_range?

No — this attribute is only available for mobs. It can be set on a mob using: /attribute <mob> minecraft:tempt_range base set <value>.

What are the limits for tempt_range?

Default: 10. Accepted range: 0 to 2048. The command cannot set a value outside this range.

More: only for mobs

Data from Minecraft 26.3: Values, boundaries, and who changes them — from game code and game enchantment files.