NBT Tags for Fireball 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 fireball 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 fireball in another version of Minecraft:

Background

In Minecraft Java Edition 1.14 and 1.15, the entity value for a fireball is fireball. The fireball entity has a unique set of data tags that can be used in Minecraft commands such as: /summon and /data.

fireball

What are NBT tags (formerly called Data Tags)?

NBT tags allow you to set certain properties of an entity (such as fireball). The NBT tag is always surrounded in {} such as {direction:[0.0,0.0,0.0]}. If there is more than one NBT tag used in a game command, the NBT tags are separated by a comma such as {ExplosionPower:4,direction:[0.0,0.0,0.0]}.

List of NBT Tags

Here is a list of the NBT tags that you can use for fireball in Minecraft Java Edition (PC/Mac) 1.14 and 1.15:

NBT Tag Value (Description)
direction

x y z (REQUIRED! Specifies the initial velocity of the fireball using the standard XYZ coordinate system. If you specify X=0.0, Y=0.0, Z=0.0, then the fireball will spawn in the exact location where the command is run. This NBT tag must be entered using decimal values.)

Example
{direction:[0.0,0.0,0.0]}
{direction:[3.0,0.0,0.0]}

power

x y z (Specifies the constant acceleration of the fireball using the standard XYZ coordinate system. This NBT tag must be entered using decimal values.)

Example
{power:[0.0,0.0,0.0]}
{power:[3.0,0.0,0.0]}

ExplosionPower

number (Specifies the explosion radius of the fireball. The higher the number, the larger the explosion radius. The default is 1.)

Example
{ExplosionPower:2}

UUIDLeast

A number that specifies the right half of the UUID for the fireball (use UUIDLeast and UUIDMost to target/find a particular fireball in the game)

Example
{UUIDLeast:-6645587150281567948L}

UUIDMost

A number that specifies the left half of the UUID for the fireball (use UUIDLeast and UUIDMost to target/find a particular fireball in the game)

Example
{UUIDMost:4420078606457655279L}

NBT Tag Examples

To summon a fireball:

/summon fireball ~ ~ ~ {direction:[0.0,0.0,0.0]}

To summon a fireball that has an explosion power of 4:

/summon fireball ~ ~ ~ {ExplosionPower:4,direction:[0.0,0.0,0.0]}

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=fireball value, you can target fireballs:

@e[type=fireball]

Target Selector Examples

To change the nearest fireball to have an explosion power of 4:

/data merge entity @e[type=fireball,limit=1,sort=nearest] {ExplosionPower:4}

To kill all fireballs:

/kill @e[type=fireball]

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

Command Examples

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

Command Generators

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