NBT Tags for Ender Crystal in Minecraft (Java Edition 1.10)
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.10.
TIP: If you are not running Minecraft Java Edition (PC/Mac) 1.10, find NBT tags for ender crystal in another version of Minecraft:
Background
In Minecraft Java Edition 1.10, the entity value for an ender crystal is EnderCrystal
. The EnderCrystal
entity has a unique set of data tags that can be used in Minecraft commands such as: /summon, /entitydata, /give, /fill, /setblock, /testfor.
What are NBT tags (formerly called Data Tags)?
NBT tags allow you to set certain properties of an entity (such as EnderCrystal
). 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 EnderCrystal
in Minecraft Java Edition (PC/Mac) 1.10:
NBT Tag | Value (Description) | Works With |
---|---|---|
ShowBottom | 0b (The bedrock slate below the ender crystal will be hidden) Example |
/summon /entitydata |
BeamTarget | The coordinate that the ender crystal beam will point to Syntax Example |
/summon /entitydata |
UUIDLeast | A number that specifies the right half of the UUID for the ender crystal (use UUIDLeast and UUIDMost to target/find a particular ender crystal in the game) Example |
/summon /entitydata |
UUIDMost | A number that specifies the left half of the UUID for the ender crystal (use UUIDLeast and UUIDMost to target/find a particular ender crystal in the game) Example |
/summon /entitydata |
id | EnderCrystal (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 /entitydata |
NBT Tag Examples
To summon an ender crystal that has a beam pointing at coordinates (12,32,256):
/summon EnderCrystal ~ ~2 ~ {BeamTarget:{X:12,Y:32,Z:256}}
To summon an ender crystal with the bedrock slate below the ender crystal hidden:
/summon EnderCrystal ~ ~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=EnderCrystal
value, you can target ender crystals:
@e[type=EnderCrystal]
You can also add a radius value to target ender crystals within a certain radius of blocks (for example, r=5
lets you target ender crystals within a 5 block radius of where the command is run):
@e[type=EnderCrystal,r=5]
Target Selector Examples
To hide the bedrock slate bottom on all ender crystals within a 5 block radius:
/entitydata @e[type=EnderCrystal,r=5] {ShowBottom:0b}
To test for all ender crystals within a 50 block radius:
/testfor @e[type=EnderCrystal,r=50]
To summon a lightning bolt at all ender crystals:
/execute @e[type=EnderCrystal] ~ ~ ~ /summon LightningBolt
To kill all ender crystals:
/kill @e[type=EnderCrystal]
Next, learn how to use the game commands in Minecraft.
Command Examples
Here are some game command examples for an ender crystal in Minecraft:
Command Generators
If you need help, you can use these tools to automatically generate commands for you:
Advertisements