Add Lore to tool?

Started by Matrillex on Wed, 02/13/2019 - 02:38

Topic category: Help with MCreator's application

Last seen on 16:11, 11. Sep 2019
Joined Oct 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Add Lore to tool?
Wed, 02/13/2019 - 02:38

I was wondering if there is a way to add lore to an item that comes with as you craft it, lore being similar to the "Lore" command.

Last seen on 10:41, 6. Oct 2019
Joined Nov 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I am not familiar with this …
Thu, 02/14/2019 - 17:05

I am not familiar with this "lore" command but if you mean text, it is there when you create a block/item.

Last seen on 16:11, 11. Sep 2019
Joined Oct 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
/give @p diamond_sword 1 0 {…
Thu, 02/14/2019 - 19:22

/give @p diamond_sword 1 0 {    display: {        Name: "Sword",        Lore: [            "Put Lore Here"        ]    }}

This would be the command, when used it adds purple writing to a weapon. 
Here is a picture

Picture of Lore

Last seen on 16:11, 11. Sep 2019
Joined Oct 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Technically the "Name: …
Thu, 02/14/2019 - 19:29

Technically the "Name: "Sword"" part isn't needed and the code at it's basic would look like this
/
give @p diamond_sword 1 0 {    display: {        Lore: [            "Put Lore Here"        ]    }}

Where the "Put Lore Here" is where you'd type what you want it to say and you can basically give tools descriptions.

And so my question is if there is a way to have things like this already on the weapon/tool when you get it.