9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-29 03:49:19 +00:00

Added dyeing menu

This commit is contained in:
HeroBrineGoat
2021-11-11 19:08:53 -05:00
parent b2550b20a7
commit 607b07aecb
17 changed files with 443 additions and 161 deletions

View File

@@ -76,11 +76,9 @@ public class CosmeticsCommand extends CommandBase {
case BACKPACK -> user.getPlayerArmor().getBackpack();
};
new DyeSelectorGui("test", 3, Map.of(
10, Color.fromRGB(1, 2, 3),
11, Color.fromRGB(0, 0, 255)
), armorItem
).getGui(user).open(player);
player.sendMessage("Opening dye menu");
this.cosmeticsMenu.openDyeSelectorGui(user, armorItem);
}
}