Get the menu working, button click broken
This commit is contained in:
parent
848b6f495b
commit
01a6f1ddc7
8 changed files with 86 additions and 24 deletions
|
@ -29,13 +29,14 @@ public class CreditsEntry {
|
|||
ItemStack stack = player.getAsItem();
|
||||
stack.setHoverName(Component.literal(name));
|
||||
LoreContainer contain = new LoreContainer(stack);
|
||||
contain.miscData.LoreData.clear();
|
||||
LoreEntry entry = new LoreEntry();
|
||||
entry.text = ChatColor.doColors("!Dark_Purple!Role: "+role);
|
||||
entry.text = ChatColor.doColors("!Dark_Purple!Role: "+role + "\n");
|
||||
entry.bold=true;
|
||||
entry.italic=true;
|
||||
contain.miscData.LoreData.add(entry);
|
||||
entry = new LoreEntry();
|
||||
entry.text = ChatColor.doColors("!White!About: !Dark_Green!"+description);
|
||||
entry.text = ChatColor.doColors("!White!About: !Dark_Green!"+description + "\n");
|
||||
entry.italic=true;
|
||||
contain.miscData.LoreData.add(entry);
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ public class HeadCache
|
|||
creds.add(
|
||||
new CreditsEntry(HeadUtilities.cachedLookup("PossumTheWarrior"), "PossumTheWarrior", "Tester", "Poss has helped to test the mods from very early on"));
|
||||
creds.add(
|
||||
new CreditsEntry(HeadUtilities.cachedLookup("GemMD"), "GemMD", "Adviser", "GemMD has provided advise on marketing and development decisions for various mods"));
|
||||
new CreditsEntry(HeadUtilities.cachedLookup("GemMD"), "GemMD", "Adviser", "GemMD has provided advice on marketing and development decisions for various mods"));
|
||||
|
||||
CREDITS = creds;
|
||||
|
||||
|
|
Reference in a new issue