NBT Tags for Shulker Bullet in Minecraft (Java Edition 1.16/1.17/1.18/1.19/1.20)

This Minecraft tutorial explains the NBT tags (formerly called data tags) that you can use for a shulker bullet 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 shulker bullet in another version of Minecraft:

Background

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

shulker bullet

What are NBT tags (formerly called Data Tags)?

NBT tags allow you to set certain properties of an entity (such as shulker_bullet). The NBT tag is always surrounded in {} such as {Steps:25}. If there is more than one NBT tag used in a game command, the NBT tags are separated by a comma such as {Steps:25,TZD:0.17d}.

List of NBT Tags

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

NBT Tag Value (Description)
Owner

The owner of the shulker bullet which consists of 5 data tags: X, Y, Z, L, M. The X Y and Z data tags specify the coordinate of the owner. L and M specify the UUIDLeast and UUIDMost of the owner.

Syntax
Owner:{X:<x-value>, Y:<y-value>, Z:<z-value>, L:<UUIDLeast>, M:<UUIDMost>}

Example
{Owner:{X:-244,Y:87,Z:1022,L:-8726042945961716848L,M:558846779238862412L}

Target

The target of the shulker bullet which consists of 5 data tags: X, Y, Z, L, M. The X Y and Z data tags specify the coordinate of the target. L and M specify the UUIDLeast and UUIDMost of the target.

Syntax
Target:{X:<x-value>, Y:<y-value>, Z:<z-value>, L:<UUIDLeast>, M:<UUIDMost>}

Example
{Target:{X:-245,Y:82,Z:1035,L:-5905415884973139263L,M:7945976710318804684L}

TXD

number (The X-offset of the bullet's target)

Example
{TXD:0.0d}

TYD

number (The Y-offset of the bullet's target)

Example
{TYD:0.0d}

TZD

number (The Z-offset of the bullet's target)

Example
{TZD:0.17d}

Steps

number (The number of steps the bullet can take to get to its target. A value of 0 causes the bullet to go in a straight line to its target. When a value of 0 is used with a command block, the shulker bullet will spawn and then spin in place.)

Example
{Steps:25}

NBT Tag Examples

To summon a shulker bullet that fires toward an entity at the coordinates (-244,87,1022) and the entity is identified by the UUIDLeast and UUIDMost values provided (you will need a command block to run this command):

/summon shulker_bullet ~ ~1 ~ {Steps:25,Target:{X:-244,Y:87,Z:1022,L:-8726042945961716848L,M:558846779238862412L}}

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=shulker_bullet value, you can target shulker bullets:

@e[type=shulker_bullet]

Target Selector Examples

To change the target of the nearest shulker bullet to the coordinates (-245,84,1035):

/data merge entity @e[type=shulker_bullet,limit=1,sort=nearest] {TXD:-245,TYD:84,TZD:1035}

To kill all shulker bullets:

/kill @e[type=shulker_bullet]

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

Command Examples

Here are some game command examples for a shulker bullet in Minecraft:

Command Generators

If you need help, you can use these tools to automatically generate commands for you: