NBT Tags for Boat in Minecraft (Java Edition 1.14/1.15)
This Minecraft tutorial explains the NBT tags (formerly called data tags) that you can use for a boat in Minecraft Java Edition (PC/Mac) 1.14 and 1.15.
TIP: If you are not running Minecraft Java Edition (PC/Mac) 1.14/1.15, find NBT tags for boat in another version of Minecraft:
Background
In Minecraft Java Edition 1.14 and 1.15, the entity value for a boat is boat
. The boat
entity has a unique set of data tags that can be used in Minecraft commands such as: /summon and /data.
boat
is used as the entity value for all boats in Minecraft (oak, spruce, birch, jungle, acacia, dark oak):
What are NBT tags (formerly called Data Tags)?
NBT tags allow you to set certain properties of an entity (such as boat
). The NBT tag is always surrounded in {} such as {Type:birch}. If there is more than one NBT tag used in a game command, the NBT tags are separated by a comma such as {Type:birch, Passengers:[{id:llama}]}.
List of NBT Tags
Here is a list of the NBT tags that you can use for boat
in Minecraft Java Edition (PC/Mac) 1.14 and 1.15:
NBT Tag | Value (Description) | Works With |
---|---|---|
Type | oak (The boat is made of oak wood) Example |
/summon /data |
Fire | ticks (The number of game ticks until the boat is no longer on fire - there are 20 ticks in a second) Example |
/summon /data |
PortalCooldown | ticks (The number of game ticks until the boat can go through a portal again - there are 20 ticks in a second) Example |
/summon /data |
UUIDLeast | A number that specifies the right half of the UUID for the boat (use UUIDLeast and UUIDMost to target/find a particular boat in the game) Example |
/summon /data |
UUIDMost | A number that specifies the left half of the UUID for the boat (use UUIDLeast and UUIDMost to target/find a particular boat in the game) Example |
/summon /data |
id | boat (The entity value used to represent a boat in the Passengers tag) Example |
/summon |
Passengers | The mob that is riding in the boat. Use the entity value for the passenger mob Example of llama as passenger |
/summon /data |
NBT Tag Examples
To summon an acacia boat:
/summon boat ~ ~ ~ {Type:acacia}
To summon a dark oak boat that has a llama in it:
/summon boat ~ ~ ~ {Type:dark_oak, Passengers:[{id:llama}]}
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=boat
value, you can target boats:
@e[type=boat]
Target Selector Examples
To change the nearest boat to a Jungle boat:
/data merge entity @e[type=boat,limit=1,sort=nearest] {Type:jungle}
To kill all boats:
/kill @e[type=boat]
Next, learn how to use the game commands in Minecraft.
Command Generators
If you need help, you can use these tools to automatically generate commands for you:
Advertisements