Nbt Tags For Ender Crystal Wiki Guide
This Minecraft tutorial explains the NBT tags (formerly called data tags) that you can use for an ender crystal 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 ender crystal in another version of Minecraft:
- Java Edition (PC/Mac) 1.14/1.15
- Java Edition (PC/Mac) 1.11/1.12
- Java Edition (PC/Mac) 1.10
Background
In Minecraft Java Edition 1.16, 1.17, 1.18, 1.19 and 1.20, the entity value for an ender crystal is end_crystal
. The end_crystal
 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 end_crystal
). The NBT tag is always surrounded in {} such as {ShowBottom:0b}. If there is more than one NBT tag used in a game command, the NBT tags are separated by a comma such as {ShowBottom:0b, BeamTarget:{X:12,Y:32,Z:256}}.
List of NBT Tags
Here is a list of the NBT tags that you can use for end_crystal
 in Minecraft Java Edition (PC/Mac) 1.16, 1.17, 1.18, 1.19 and 1.20:
NBT Tag | Value (Description) | Works With |
---|---|---|
ShowBottom | 0b (The bedrock slate below the ender crystal will be hidden) 1b (The bedrock slate below the ender crystal will be visible) Example |
/summon /data |
BeamTarget |
The coordinate that the ender crystal beam will point to Syntax Example |
/summon /data |
id |
end_crystal (The entity value used to represent an ender crystal in the EntityTag or Passengers tag) Example |
/summon /give |
Passengers |
The mob that is riding on the ender crystal. Use the entity value for the passenger mob Example of skeleton as passenger |
/summon /data |
NBT Tag Examples
To summon an ender crystal that has a beam pointing at coordinates (12,32,256):
/summon end_crystal ~ ~2 ~ {BeamTarget:{X:12,Y:32,Z:256}}
To summon an ender crystal with the bedrock slate below the ender crystal hidden:
/summon end_crystal ~ ~2 ~ {ShowBottom:0b}
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=end_crystal
 value, you can target ender crystals:
@e[type=end_crystal]
Target Selector Examples
To hide the bedrock slate bottom on the nearest ender crystal:
/data merge entity @e[type=end_crystal,limit=1,sort=nearest] {ShowBottom:0b}
To kill all ender crystals:
/kill @e[type=end_crystal]
Next, learn how to use the game commands in Minecraft.
Command Examples
Here are some game command examples for an ender crystal in Minecraft: