NBT Tags for Fireball – Wiki Guide
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.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 fireball 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 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.
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 {ExplosionPower:4}. 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,Motion:[3.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.16, 1.17, 1.18, 1.19 and 1.20:
NBT Tag | Value (Description) | Works With |
---|---|---|
Motion | x y z (Specifies the initial velocity of the fireball using the standard XYZ coordinate system. This NBT tag must be entered using decimal values.)
Example |
/summon /data |
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 |
/summon /data |
ExplosionPower |
number (Specifies the explosion radius of the fireball. The higher the number, the larger the explosion radius. The default is 1.) Example |
/summon /data |
LeftOwner |
0b (The fireball has not left its owner) Example |
/summon /data |
Invulnerable |
0 (The fireball will take damage like normal) Example |
/summon /data |
NBT Tag Examples
To summon a fireball:
/summon fireball
To summon a fireball that has an explosion power of 4:
/summon fireball ~ ~ ~ {ExplosionPower:4}
To summon a fireball that has an explosion power of 4 and moves East at an initial velocity of 3.0:
/summon fireball ~ ~ ~ {ExplosionPower:4,Motion:[3.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: