Minecraft Blogs / Tutorial

Command block Tutorial : /give Tutorial - Adding names and lores.

  • 604 views, 2 today
  • 1
  • 1
MetroPollis's Avatar MetroPollis
Level 27 : Expert Engineer
9
Hello players,
I'm pretty good at command block stuff so i though why not do tutorials?
Today we are looking at /give command
With this command you can give stuff to a player.
But you can also add NBT data for the item.
Like enchantments, names and lores!

Now we are gonna start with the basic command.
/give (Player) (Item) (Amount) (Data)
That is give command. now lets add names and lores to the item we want to give to a player.

Adding a Name:
Start by typing the command.
/give (Player) (Item) (Amount) (Data)
Then add this to the command. (Do space then add the NBT data for the name)
{display:{Name:"(Your name here"}}
Thats how you give an item a name. (But it renames it like you rename it on an anvil, but its usful when you use command blocks)

Adding a Lore:
Now if you are adding a name and a lore add this:
{display:{Name:"(Your name here)",Lore:["(Your lore here)"]}}

Now if you are adding a lore add this:
{display:{Lore:["(Your lore here)"]}}

Thats it for today, hope this helped you.
See you in 2 days or a day.
Bye!
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome