Vanilla item lore (item description)

Started by NerdyPuzzle on

Topic category: Advanced modding

Last seen on 20:17, 28. Mar 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Vanilla item lore (item description)

I am trying to add a feature to my mod so when you craft an item, it will display some randomly selected NBTs in item lore. I know how to code the NBTs into the lore, but only for custom items. How do I add my item lore with visible NBT values to vanilla items aswell? 

Last seen on 06:22, 13. Mar 2023
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh man I have been trying to…
Wed, 08/31/2022 - 06:24

Oh man I have been trying to do this for ages. Only way I have found to add lore to an item currently is with the /item modify command but its complicated and I haven't made it work yet. If I figure it out I'll lyk.

Last seen on 20:17, 28. Mar 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I FIGURED IT OUT! The…
Sun, 09/18/2022 - 01:33

I FIGURED IT OUT! The command you need to run is:

data modify block ~ ~ ~ Items[{Slot:YOUR_SLOT_NUMBERb}].tag.display set value {Lore:['[{"YOUR":"AA","italic":false}]','[{"text":"TEXT","italic":false}]','[{"text":"GOES","italic":false}]','[{"text":"HERE","italic":false}]']}

 

THIS TOOK SO LONG TO FIGURE OUT!

Last seen on 15:51, 5. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This command can't be…
Mon, 09/19/2022 - 17:39

This command can't be forgotten.

Last seen on 20:17, 28. Mar 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Kinda made a typo here: ['[{…
Mon, 09/19/2022 - 18:50

Kinda made a typo here: ['[{"YOUR":"AA","italic":false}]'

It should be : ['[{"text":"YOUR","italic":false}]'

Last seen on 20:17, 28. Mar 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And you remove the text with…
Mon, 09/19/2022 - 18:54

And you remove the text with data remove block ~ ~ ~ Items[{Slot:0b}].tag.display

Last seen on 06:22, 13. Mar 2023
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Won't that onlyh work if the…
Thu, 09/29/2022 - 14:47

Won't that onlyh work if the item is in a chest though?

Last seen on 23:22, 15. May 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey bro, could you please…
Mon, 03/27/2023 - 19:42

hey bro, could you please make a new tutorial on how to make the procedure for animations with your geckolib plugin in 2023.1? I got an attack, death, walk and idle animation but i cant find anything on the internet. pls help