Advertisement
Skylinerw

@tiggerbiggo - Item/Entity Structure

Jun 9th, 2014
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. Indented for easier reading:
  2.  
  3. /scoreboard players set @e[type=Item] OBJECTIVE 1 {
  4. Item:{
  5. id:minecraft:paper,
  6. tag:{
  7. display:{
  8. Name:"Fire Tower"
  9. }
  10. }
  11. }
  12. }
  13.  
  14. Just a bit of info concerning /give and /clear. The standard item structure:
  15.  
  16. {
  17. id:minecraft:stone,
  18. Count:1,
  19. Damage:0,
  20. Slot:0,
  21. tag:{
  22. <extra data>
  23. }
  24. }
  25.  
  26. /give <player> <id> [Count] [Damage] {tag}
  27. /clear <player> [id] [Damage] [Maximum Amount (not "Count")] {tag}
  28.  
  29. Note that neither are capable of defining the "Slot", since the "Slot" tag is at the root of the item while the dataTags starts within the "tag" tag.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement