Add Lore to tool?

Started by Matrillex on

Topic category: Help with MCreator software

Active 5 years ago
Joined Oct 2017
Points:
737

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 29
Add Lore to tool?

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.

Active 3 years ago
Joined Nov 2018
Points:
979

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 571
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.

Active 5 years ago
Joined Oct 2017
Points:
737

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 29
/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

Active 5 years ago
Joined Oct 2017
Points:
737

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 29
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.