How to put variables on individual items of the same type in the lore/special information section

Started by Tibbble87 on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Nov 2021
Points:
506

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
How to put variables on individual items of the same type in the lore/special information section
Thu, 11/25/2021 - 14:25 (edited)

I am making a mod where when you right click on a villager with a empty contract it gets changed into a dfilled contract with randomly assigned values. I cant get the item to say the values. I tried using <ENBT:number:mining> in the special information section but it just said "<ENBT:number:mining>". I want it to be like the chickens for the roost mod, here is a picture of that:

 

Here is my block code for getting the new item:

I apologize if I don't reply often, I might not be paying attention. Please help me

Edited by Tibbble87 on Thu, 11/25/2021 - 14:25