This Minecraft tutorial explains the NBT tags (formerly called data tags) that you can use for a turtle in Minecraft Java Edition (PC/Mac) 1.16, 1.17, 1.18, 1.19 and 1.20.

TIP: If you are not running Minecraft Java Edition (PC/Mac) 1.16/1.17/1.18/1.19/1.20, find NBT tags for turtle in another version of Minecraft:

  • Java Edition (PC/Mac) 1.14/1.15

Background

In Minecraft Java Edition 1.16, 1.17, 1.18, 1.19 and 1.20, the entity value for a turtle is turtle. The turtle entity has a unique set of NBT tags that can be used in Minecraft commands such as: /summon and /data.

What are NBT tags (formerly called Data Tags)?

NBT tags allow you to set certain properties of an entity (such as turtle). The NBT tag is always surrounded in {} such as {NoAI:1}. If there is more than one NBT tag used in a game command, the NBT tags are separated by a comma such as {NoAI:1,CustomName:”\”Donatello\””}.

List of NBT Tags

Here is a list of the NBT tags that you can use for turtle in Minecraft Java Edition (PC/Mac) 1.16, 1.17, 1.18, 1.19 and 1.20:

NBT Tag Value (Description)
HomePosX number (The x-coordinate of the turtle’s home beach)

Example
{HomePosX:-846}

HomePosY  

number (The y-coordinate of the turtle’s home beach)

Example
{HomePosY:66}

HomePosZ  

number (The z-coordinate of the turtle’s home beach)

Example
{HomePosZ:192}

InLove  

ticks (The number of game ticks that the turtle is in love mode and will try to breed with another turtle)

Example
{InLove:400}

Age  

ticks (The age of the turtle in game ticks. Use 0 or higher for an adult. Use a negative number such as -25000 for a baby.)

Example
{Age:0} example for adult
{Age:-25000} example for baby

ForcedAge  

ticks (When a baby turtle matures, the Age data tag will be set to ForcedAged. However, there have been bugs with this data tag so it may not work properly.)

Example
{ForcedAge:0}

TravelPosX  

number (The x-coordinate where the turtle is travelling to)

Example
{TravelPosX:-574}

TravelPosY  

number (The y-coordinate where the turtle is travelling to)

Example
{TravelPosY:65}

TravelPosZ  

number (The z-coordinate where the turtle is travelling to)

Example
{TravelPosZ:634}

CustomName  

name (The name to assign to the turtle)

Example
{CustomName:”\”Donatello\””}

Health  

number (The number of health points the turtle has)

Example
{Health:10.0f}

AbsorptionAmount  

number (The number of absorption health points the turtle has)

Example
{AbsorptionAmount:2.0f}

Invulnerable  

0 (The turtle will take damage like normal)
1 (The turtle will not take any damage from attacks or physical surroundings)

Example
{Invulnerable:1}

PersistenceRequired  

0 (The turtle will despawn naturally)
1 (The turtle won’t despawn)

Example
{PersistenceRequired:1}

NoAI  

0 (The turtle will have artificial intelligence and will move/behave like normal)
1 (The turtle will have no artificial intelligence and will appear motionless)

Example
{NoAI:1}

Silent  

0 (The turtle will make its usual noises in the game)
1 (The turtle will not make any noise in the game)

Example
{Silent:1}

Fire  

ticks (The number of game ticks until the turtle is no longer on fire – there are 20 ticks in a second)

Example
{Fire:60}

PortalCooldown  

ticks (The number of game ticks until the turtle can go through a portal again – there are 20 ticks in a second)

Example
{PortalCooldown:120}

Air  

ticks (The number of game ticks the turtle has air left for)

Example
{Air:120}

id  

turtle (The entity value used to represent a turtle in the Passengers tag)

Example
{id:turtle}

Passengers  

The mob that is riding on the turtle. Use the entity value for the passenger mob

Example of skeleton as passenger
Passengers:[{id:skeleton}]

NBT Tag Examples

To summon a baby turtle:

/summon turtle ~ ~ ~ {Age:-25000}

To summon a turtle that is named Donatello and has no artificial intelligence:

/summon turtle ~ ~ ~ {CustomName:"\"Donatello\"", NoAI:1}

Target Selectors

Before we finish discussing data tags, let’s quickly explore how to use the @e target selector. The @e target selector allows you to target entities in your commands. If you use the type=turtle value, you can target turtle:

@e[type=turtle]

Target Selector Examples

To change the nearest turtle to have no artificial intelligence:

/data merge entity @e[type=turtle,limit=1,sort=nearest] {NoAI:1}

To kill all turtle:

/kill @e[type=turtle]

Next, learn how to use the game commands in Minecraft.

Command Examples

Here are some game command examples for a turtle in Minecraft:

How to Summon a Turtle
How to Summon a Baby Turtle

Click to rate this post!
[Total: 2 Average: 5]