NBT Tags for Shulker Bullet in Minecraft (Java Edition 1.10)
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.10.
TIP: If you are not running Minecraft Java Edition (PC/Mac) 1.10, find NBT tags for shulker bullet in another version of Minecraft:
Background
In Minecraft Java Edition 1.10, the entity value for a shulker bullet is ShulkerBullet
. The ShulkerBullet
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 ShulkerBullet
). 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 ShulkerBullet
in Minecraft Java Edition (PC/Mac) 1.10:
NBT Tag | Value (Description) | Works With |
---|---|---|
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 Example |
/summon /entitydata |
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 Example |
/summon /entitydata |
TXD | number (The X-offset of the bullet's target) Example |
/summon /entitydata |
TYD | number (The Y-offset of the bullet's target) Example |
/summon /entitydata |
TZD | number (The Z-offset of the bullet's target) Example |
/summon /entitydata |
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 |
/summon /entitydata |
UUIDLeast | A number that specifies the right half of the UUID for the shulker bullet (use UUIDLeast and UUIDMost to target/find a particular shulker bullet in the game) Example |
/summon /entitydata |
UUIDMost | A number that specifies the left half of the UUID for the shulker bullet (use UUIDLeast and UUIDMost to target/find a particular shulker bullet in the game) Example |
/summon /entitydata |
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 ShulkerBullet ~ ~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=ShulkerBullet
value, you can target shulker bullets:
@e[type=ShulkerBullet]
You can also add a radius value to target shulker bullets within a certain radius of blocks (for example, r=5
lets you target shulker bullets within a 5 block radius of where the command is run):
@e[type=ShulkerBullet,r=5]
Target Selector Examples
To change the target of all shulker bullets to the coordinates (-245,84,1035):
/entitydata @e[type=ShulkerBullet] {TXD:-245,TYD:84,TZD:1035}
To test for all shulker bullets within a 50 block radius:
/testfor @e[type=ShulkerBullet,r=50]
To summon a lightning bolt at all shulker bullets:
/execute @e[type=ShulkerBullet] ~ ~ ~ /summon LightningBolt
To kill all shulker bullets:
/kill @e[type=ShulkerBullet]
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:
Advertisements