This guide covers all the NBT tags (also called data tags) you can use with foxes in Minecraft Java Edition versions 1.16 through 1.20. Whether you want to summon a specific fox variant, set its behavior, or use it in commands, you’ll find everything here.
What Are NBT Tags?
NBT tags let you customize entity properties when summoning mobs or modifying them with commands. They’re always wrapped in curly brackets like {Type:red}. Multiple tags get separated by commas, like {Type:red, NoAI:1}. You use these with commands like /summon and /data.
All Fox NBT Tags (1.16-1.20)
| NBT Tag | Values & Description | Commands |
|---|---|---|
| Type | red (Red fox) snow (Snowy fox) Example: {Type:snow} |
/summon, /data |
| Sitting | 0 (Standing) 1 (Sitting) Example: {Sitting:1} |
/summon, /data |
| Sleeping | 0 (Awake) 1 (Sleeping) Example: {Sleeping:1} |
/summon, /data |
| Crouching | 0 (Not crouching) 1 (Crouching) Example: {Crouching:1} |
/summon, /data |
| CanPickUpLoot | 0 (Can’t pick up items) 1 (Can pick up items) Example: {CanPickUpLoot:1} |
/summon, /data |
| Age | ticks (Age in game ticks. Use 0+ for adult, negative numbers like -25000 for baby) Example: {Age:0} (adult) or {Age:-25000} (baby) |
/summon, /data |
| ForcedAge | ticks (Set when a baby becomes an adult. May have bugs.) Example: {ForcedAge:0} |
/summon, /data |
| InLove | ticks (Breeding mode duration) Example: {InLove:400} |
/summon, /data |
| CustomName | Text (Display name for the fox) Example: {CustomName:”\”Whiskers\””} |
/summon, /data |
| Health | Number (Health points) Example: {Health:10.0f} |
/summon, /data |
| AbsorptionAmount | Number (Absorption health) Example: {AbsorptionAmount:2.0f} |
/summon, /data |
| Invulnerable | 0 (Takes damage) 1 (No damage) Example: {Invulnerable:1} |
/summon, /data |
| PersistenceRequired | 0 (Despawns normally) 1 (Won’t despawn) Example: {PersistenceRequired:1} |
/summon, /data |
| NoAI | 0 (Normal behavior) 1 (Frozen, no movement) Example: {NoAI:1} |
/summon, /data |
| Silent | 0 (Makes sounds) 1 (Silent) Example: {Silent:1} |
/summon, /data |
| Fire | ticks (Remaining fire duration. 20 ticks = 1 second) Example: {Fire:60} |
/summon, /data |
| PortalCooldown | ticks (Nether portal cooldown) Example: {PortalCooldown:120} |
/summon, /data |
| Air | ticks (Remaining air supply) Example: {Air:120} |
/summon, /data |
| HandItems | Item list (Up to 2 items in mouth) Example: {HandItems:[{Count:1,id:emerald}, {Count:1,id:wheat}]} |
/summon, /data |
| HandDropChances | Drop percentages (1.0f = 100%, 0.5f = 50%) Example: {HandDropChances:[1.0f,1.0f]} |
/summon, /data |
| Passengers | Riding mobs (Another mob riding the fox) Example: Passengers:[{id:skeleton}] |
/summon, /data |
Summon Command Examples
Red Fox
/summon fox ~ ~ ~ {Type:red}
Snowy Fox Named Scout
/summon fox ~ ~ ~ {Type:snow, CustomName:"\"Scout\""}
Sitting Baby Fox
/summon fox ~ ~ ~ {Age:-25000, Sitting:1}
Fox Holding Items
/summon fox ~ ~ ~ {HandItems:[{Count:1,id:emerald}, {Count:1,id:apple}]}
Data Merge Examples
Use /data merge to modify an existing fox:
Change Nearest Fox to Red
/data merge entity @e[type=fox,limit=1,sort=nearest] {Type:red}
Make Fox Invulnerable
/data merge entity @e[type=fox,limit=1] {Invulnerable:1}
Targeting Foxes with @e
The @e selector targets entities. Add type=fox to target only foxes.
Kill All Foxes
/kill @e[type=fox]
Target Nearest Fox
@e[type=fox,limit=1,sort=nearest]
Give Nearest Fox an Effect
/effect give @e[type=fox,limit=1,sort=nearest] speed 30 2
Version Support
These NBT tags work in Minecraft Java Edition 1.16, 1.17, 1.18, 1.19, and 1.20. For older versions like 1.14 and 1.15, some tags may differ. Always check your specific version if something doesn’t work.