gadget gui overhaul

This commit is contained in:
Cheese 2015-12-11 19:20:13 +11:00
parent 66011cde8c
commit 61a8d2825e
62 changed files with 283 additions and 149 deletions

View File

@ -78,16 +78,10 @@ public class GadgetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
List<String> itemLore = new ArrayList<String>(); List<String> itemLore = new ArrayList<String>();
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.addAll(Arrays.asList(gadget.GetDescription())); itemLore.addAll(Arrays.asList(gadget.GetDescription()));
if (gadget.GetCost(CurrencyType.Coins) >= 0) if (gadget.GetCost(CurrencyType.Coins) == -1)
{
itemLore.add(C.cBlack);
itemLore.add(C.cAqua + "Cost: " + ChatColor.RESET + gadget.GetCost(CurrencyType.Coins) + " Treasure Shards");
}
else if (gadget.GetCost(CurrencyType.Coins) == -1)
{ {
//Nothing //Nothing
} }
@ -95,22 +89,22 @@ public class GadgetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
else if (gadget.GetCost(CurrencyType.Coins) == -2) else if (gadget.GetCost(CurrencyType.Coins) == -2)
{ {
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.add(C.cGray + "Found in Treasure Chests"); itemLore.add(C.cBlue + "Found in Treasure Chests");
} }
else if (gadget.GetCost(CurrencyType.Coins) == -3) else if (gadget.GetCost(CurrencyType.Coins) == -3)
{ {
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.add(C.cWhite + "Found in Winter Holiday Treasure"); itemLore.add(C.cBlue + "Found in Winter Holiday Treasure");
} }
else if (gadget.GetCost(CurrencyType.Coins) == -4) else if (gadget.GetCost(CurrencyType.Coins) == -4)
{ {
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.add(C.cWhite + "Found in Halloween Pumpkin Treasure"); itemLore.add(C.cBlue + "Found in Halloween Pumpkin Treasure");
} }
else if (gadget.GetCost(CurrencyType.Coins) == -5) else if (gadget.GetCost(CurrencyType.Coins) == -5)
{ {
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.add(C.cWhite + "Found in Easter Holiday Treasure"); itemLore.add(C.cBlue + "Found in Easter Holiday Treasure");
} }
//Rank Unlocks //Rank Unlocks
else if (gadget.GetCost(CurrencyType.Coins) == -10) else if (gadget.GetCost(CurrencyType.Coins) == -10)
@ -128,7 +122,7 @@ public class GadgetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Unlocked with Legend Rank"); itemLore.add(C.cGreen + "Unlocked with Legend Rank");
} }
else if (gadget.GetCost(CurrencyType.Coins) == -12) else if (gadget.GetCost(CurrencyType.Coins) == -13)
{ {
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.add(C.cRed + "Unlocked with Titan Rank"); itemLore.add(C.cRed + "Unlocked with Titan Rank");
@ -147,19 +141,45 @@ public class GadgetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
{ {
if (gadget.GetActive().contains(getPlayer())) if (gadget.GetActive().contains(getPlayer()))
{ {
addButton(slot, new ShopItem(gadget.GetDisplayMaterial(), gadget.GetDisplayData(), "Deactivate " + gadget.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new DeactivateGadgetButton(gadget, this)); itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Click to Disable");
addButton(slot, new ShopItem(gadget.GetDisplayMaterial(), gadget.GetDisplayData(), gadget.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new DeactivateGadgetButton(gadget, this));
} }
else else
{ {
addButton(slot, new ShopItem(gadget.GetDisplayMaterial(), gadget.GetDisplayData(), "Activate " + gadget.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new ActivateGadgetButton(gadget, this)); itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Click to Enable");
addButton(slot, new ShopItem(gadget.GetDisplayMaterial(), gadget.GetDisplayData(), gadget.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new ActivateGadgetButton(gadget, this));
} }
} }
else else
{ {
if (gadget.GetCost(CurrencyType.Coins) > 0)
{
itemLore.add(C.cBlack);
itemLore.add(C.cWhiteB + "Cost: " + C.cAqua + gadget.GetCost(CurrencyType.Coins) + " Treasure Shards");
}
if (gadget.GetCost(CurrencyType.Coins) > 0 && getDonationManager().Get(getPlayer().getName()).GetBalance(CurrencyType.Coins) >= gadget.GetCost(CurrencyType.Coins)) if (gadget.GetCost(CurrencyType.Coins) > 0 && getDonationManager().Get(getPlayer().getName()).GetBalance(CurrencyType.Coins) >= gadget.GetCost(CurrencyType.Coins))
addButton(slot, new ShopItem(Material.INK_SACK, (byte) 8, (gadget.GetCost(CurrencyType.Coins) < 0 ? "" : "Purchase ") + gadget.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new GadgetButton(gadget, this)); {
itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Click to craft " + gadget.GetName());
addButton(slot, new ShopItem(Material.INK_SACK, (byte) 8, gadget.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false), new GadgetButton(gadget, this));
}
else if (gadget.GetCost(CurrencyType.Coins) > 0)
{
itemLore.add(C.cBlack);
itemLore.add(C.cRed + "Not enough Treasure Shards.");
setItem(slot, new ShopItem(Material.INK_SACK, (byte)8, gadget.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false));
}
else else
setItem(slot, new ShopItem(Material.INK_SACK, (byte)8, (gadget.GetCost(CurrencyType.Coins) < 0 ? "" : "Purchase ") + gadget.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false)); {
setItem(slot, new ShopItem(Material.INK_SACK, (byte)8, gadget.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false));
}
} }
} }

View File

@ -57,31 +57,100 @@ public class MountPage extends ShopPageBase<CosmeticManager, CosmeticShop>
{ {
List<String> itemLore = new ArrayList<String>(); List<String> itemLore = new ArrayList<String>();
if (mount.GetCost(CurrencyType.Coins) != -1)
{
itemLore.add(C.cYellow + mount.GetCost(CurrencyType.Coins) + " Coins");
}
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.addAll(Arrays.asList(mount.GetDescription())); itemLore.addAll(Arrays.asList(mount.GetDescription()));
if (mount.GetCost(CurrencyType.Coins) == -1)
{
//Nothing
}
//Chest Unlocks
else if (mount.GetCost(CurrencyType.Coins) == -2)
{
itemLore.add(C.cBlack);
itemLore.add(C.cBlue + "Found in Treasure Chests");
}
else if (mount.GetCost(CurrencyType.Coins) == -3)
{
itemLore.add(C.cBlack);
itemLore.add(C.cBlue + "Found in Winter Holiday Treasure");
}
else if (mount.GetCost(CurrencyType.Coins) == -4)
{
itemLore.add(C.cBlack);
itemLore.add(C.cBlue + "Found in Halloween Pumpkin Treasure");
}
else if (mount.GetCost(CurrencyType.Coins) == -5)
{
itemLore.add(C.cBlack);
itemLore.add(C.cBlue + "Found in Easter Holiday Treasure");
}
//Rank Unlocks
else if (mount.GetCost(CurrencyType.Coins) == -10)
{
itemLore.add(C.cBlack);
itemLore.add(C.cAqua + "Unlocked with Ultra Rank");
}
else if (mount.GetCost(CurrencyType.Coins) == -11)
{
itemLore.add(C.cBlack);
itemLore.add(C.cPurple + "Unlocked with Hero Rank");
}
else if (mount.GetCost(CurrencyType.Coins) == -12)
{
itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Unlocked with Legend Rank");
}
else if (mount.GetCost(CurrencyType.Coins) == -13)
{
itemLore.add(C.cBlack);
itemLore.add(C.cRed + "Unlocked with Titan Rank");
}
if (getDonationManager().Get(getPlayer().getName()).OwnsUnknownPackage(mount.GetName())) if (getDonationManager().Get(getPlayer().getName()).OwnsUnknownPackage(mount.GetName()))
{ {
if (mount.GetActive().containsKey(getPlayer())) if (mount.GetActive().containsKey(getPlayer()))
{ {
addButton(slot, new ShopItem(mount.GetDisplayMaterial(), mount.GetDisplayData(), "Deactivate " + mount.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new DeactivateMountButton(mount, this)); itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Click to Disable");
addButton(slot, new ShopItem(mount.GetDisplayMaterial(), mount.GetDisplayData(), mount.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new DeactivateMountButton(mount, this));
} }
else else
{ {
addButton(slot, new ShopItem(mount.GetDisplayMaterial(), mount.GetDisplayData(), "Activate " + mount.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new ActivateMountButton(mount, this)); itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Click to Enable");
addButton(slot, new ShopItem(mount.GetDisplayMaterial(), mount.GetDisplayData(), mount.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new ActivateMountButton(mount, this));
} }
} }
else else
{ {
if (mount.GetCost(CurrencyType.Coins) != -1 && getDonationManager().Get(getPlayer().getName()).GetBalance(CurrencyType.Coins) >= mount.GetCost(CurrencyType.Coins)) if (mount.GetCost(CurrencyType.Coins) > 0)
addButton(slot, new ShopItem(mount.GetDisplayMaterial(), mount.GetDisplayData(), (mount.GetCost(CurrencyType.Coins) < 0 ? "" : "Purchase ") + mount.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new MountButton(mount, this)); {
itemLore.add(C.cBlack);
itemLore.add(C.cWhiteB + "Cost: " + C.cAqua + mount.GetCost(CurrencyType.Coins) + " Treasure Shards");
}
if (mount.GetCost(CurrencyType.Coins) > 0 && getDonationManager().Get(getPlayer().getName()).GetBalance(CurrencyType.Coins) >= mount.GetCost(CurrencyType.Coins))
{
itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Click to craft " + mount.GetName());
addButton(slot, new ShopItem(mount.GetDisplayMaterial(), mount.GetDisplayData(), mount.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false), new MountButton(mount, this));
}
else if (mount.GetCost(CurrencyType.Coins) > 0)
{
itemLore.add(C.cBlack);
itemLore.add(C.cRed + "Not enough Treasure Shards.");
setItem(slot, new ShopItem(mount.GetDisplayMaterial(), mount.GetDisplayData(), mount.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false));
}
else else
setItem(slot, new ShopItem(mount.GetDisplayMaterial(), mount.GetDisplayData(), (mount.GetCost(CurrencyType.Coins) < 0 ? "" : "Purchase ") + mount.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false)); {
setItem(slot, new ShopItem(mount.GetDisplayMaterial(), mount.GetDisplayData(), mount.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false));
}
} }
} }

View File

@ -61,26 +61,54 @@ public class PetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
{ {
List<String> itemLore = new ArrayList<String>(); List<String> itemLore = new ArrayList<String>();
//Halloween Name itemLore.add(C.cBlack);
itemLore.add(C.cGray + "Your very own " + pet.GetName() + "!");
if (pet.GetCost(CurrencyType.Coins) == -1) if (pet.GetCost(CurrencyType.Coins) == -1)
{ {
if (pet instanceof Pumpkin) //Nothing
}
//Chest Unlocks
else if (pet.GetCost(CurrencyType.Coins) == -2)
{ {
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.add(ChatColor.RESET + C.cYellow + "Earned by defeating the Pumpkin King"); itemLore.add(C.cBlue + "Found in Treasure Chests");
itemLore.add(ChatColor.RESET + C.cYellow + "in the 2014 Halloween Horror Event.");
} }
if (pet instanceof Elf) else if (pet.GetCost(CurrencyType.Coins) == -3)
{ {
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.add(ChatColor.RESET + C.cYellow + "Earned by defeating the Pumpkin King"); itemLore.add(C.cBlue + "Found in Winter Holiday Treasure");
itemLore.add(ChatColor.RESET + C.cYellow + "in the 2014 Christmas Chaos Event.");
} }
if (pet.GetPetType() == EntityType.WITHER) else if (pet.GetCost(CurrencyType.Coins) == -4)
{ {
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.add(ChatColor.RESET + C.cGreen + "Unlocked with Legend Rank"); itemLore.add(C.cBlue + "Found in Halloween Pumpkin Treasure");
} }
else if (pet.GetCost(CurrencyType.Coins) == -5)
{
itemLore.add(C.cBlack);
itemLore.add(C.cBlue + "Found in Easter Holiday Treasure");
}
//Rank Unlocks
else if (pet.GetCost(CurrencyType.Coins) == -10)
{
itemLore.add(C.cBlack);
itemLore.add(C.cAqua + "Unlocked with Ultra Rank");
}
else if (pet.GetCost(CurrencyType.Coins) == -11)
{
itemLore.add(C.cBlack);
itemLore.add(C.cPurple + "Unlocked with Hero Rank");
}
else if (pet.GetCost(CurrencyType.Coins) == -12)
{
itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Unlocked with Legend Rank");
}
else if (pet.GetCost(CurrencyType.Coins) == -13)
{
itemLore.add(C.cBlack);
itemLore.add(C.cRed + "Unlocked with Titan Rank");
} }
//Owned //Owned
@ -94,36 +122,53 @@ public class PetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
if (getPlugin().getPetManager().hasActivePet(getPlayer().getName()) && getPlugin().getPetManager().getActivePet(getPlayer().getName()).getType() == pet.GetPetType()) if (getPlugin().getPetManager().hasActivePet(getPlayer().getName()) && getPlugin().getPetManager().getActivePet(getPlayer().getName()).getType() == pet.GetPetType())
{ {
itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Click to Disable");
addButton(slot, new ShopItem(Material.MONSTER_EGG, (byte) pet.GetPetType().getTypeId(), addButton(slot, new ShopItem(Material.MONSTER_EGG, (byte) pet.GetPetType().getTypeId(),
"Deactivate " + pet.GetPetName() + " (" + C.cWhite + petName + C.cGreen + ")", pet.GetPetName() + " (" + C.cWhite + petName + C.cGreen + ")",
itemLore.toArray(new String[itemLore.size()]), 1, false, false), new DeactivatePetButton(this, getPlugin().getPetManager())); itemLore.toArray(new String[itemLore.size()]), 1, false, false), new DeactivatePetButton(this, getPlugin().getPetManager()));
addGlow(slot); addGlow(slot);
} }
else else
{ {
itemLore.add(C.cBlack);
itemLore.add(C.cGreen + "Click to Enable");
addButton(slot, new ShopItem(Material.MONSTER_EGG, (byte) pet.GetPetType().getTypeId(), addButton(slot, new ShopItem(Material.MONSTER_EGG, (byte) pet.GetPetType().getTypeId(),
"Activate " + pet.GetPetName() + " (" + C.cWhite + petName + C.cGreen + ")", pet.GetPetName() + " (" + C.cWhite + petName + C.cGreen + ")",
itemLore.toArray(new String[itemLore.size()]), 1, false, false), new ActivatePetButton(pet, this)); itemLore.toArray(new String[itemLore.size()]), 1, false, false), new ActivatePetButton(pet, this));
} }
} }
//Not Owned //Not Owned
else else
{ {
//Cost Lore
if (pet.GetCost(CurrencyType.Coins) > 0) if (pet.GetCost(CurrencyType.Coins) > 0)
{ {
itemLore.add(C.cYellow + pet.GetCost(CurrencyType.Coins) + " Coins");
itemLore.add(C.cBlack); itemLore.add(C.cBlack);
itemLore.add(C.cWhiteB + "Cost: " + C.cAqua + pet.GetCost(CurrencyType.Coins) + " Treasure Shards");
} }
if (pet.GetCost(CurrencyType.Coins) == -1) if (pet.GetCost(CurrencyType.Coins) > 0 && getDonationManager().Get(getPlayer().getName()).GetBalance(CurrencyType.Coins) >= pet.GetCost(CurrencyType.Coins))
setItem(slot, new ShopItem(Material.INK_SACK, (byte)8, pet.GetPetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false)); {
else if (getDonationManager().Get(getPlayer().getName()).GetBalance(CurrencyType.Coins) >= pet.GetCost(CurrencyType.Coins)) itemLore.add(C.cBlack);
addButton(slot, new ShopItem(Material.INK_SACK, (byte) 8, "Purchase " + pet.GetPetName(), itemLore.toArray(new String[itemLore.size()]), 1, false, false), new PetButton(pet, this)); itemLore.add(C.cGreen + "Click to craft " + pet.GetName());
else
addButton(slot, new ShopItem(Material.INK_SACK, (byte) 8, pet.GetPetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false), new PetButton(pet, this));
}
else if (pet.GetCost(CurrencyType.Coins) > 0)
{
itemLore.add(C.cBlack);
itemLore.add(C.cRed + "Not enough Treasure Shards.");
setItem(slot, new ShopItem(Material.INK_SACK, (byte)8, "Purchase " + pet.GetPetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false)); setItem(slot, new ShopItem(Material.INK_SACK, (byte)8, "Purchase " + pet.GetPetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false));
} }
else
{
setItem(slot, new ShopItem(Material.INK_SACK, (byte)8, pet.GetPetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false));
}
}
slot++; slot++;

View File

@ -20,7 +20,7 @@ public class ArrowTrailCandyCane extends ArrowEffectGadget
public ArrowTrailCandyCane(GadgetManager manager) public ArrowTrailCandyCane(GadgetManager manager)
{ {
super(manager, "Candy Cane Arrows", super(manager, "Candy Cane Arrows",
UtilText.splitLineToArray(C.cWhite + "The real reason no one visits the North Pole? Santas Elves are deadly shots.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "The real reason no one visits the North Pole? Santas Elves are deadly shots.", LineFormat.LORE),
-3, -3,
Material.SNOW_BALL, (byte)0); Material.SNOW_BALL, (byte)0);
} }

View File

@ -18,7 +18,7 @@ public class ArrowTrailFrostLord extends ArrowEffectGadget
public ArrowTrailFrostLord(GadgetManager manager) public ArrowTrailFrostLord(GadgetManager manager)
{ {
super(manager, "Arrows of the Frost Lord", super(manager, "Arrows of the Frost Lord",
UtilText.splitLineToArray(C.cWhite + "The Frost Lords arrows bring a blast of winter in the wind of their passing.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "The Frost Lords arrows bring a blast of winter in the wind of their passing.", LineFormat.LORE),
-3, -3,
Material.SNOW_BALL, (byte)0, "Frost Lord"); Material.SNOW_BALL, (byte)0, "Frost Lord");
} }

View File

@ -21,7 +21,7 @@ public class ArrowTrailTitan extends ArrowEffectGadget
public ArrowTrailTitan(GadgetManager manager) public ArrowTrailTitan(GadgetManager manager)
{ {
super(manager, "Arrows of the Titans", super(manager, "Arrows of the Titans",
UtilText.splitLineToArray(C.cWhite + "Arrows forged in the Fires of Creation, they leave fiery trails in their wake.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Arrows forged in the Fires of Creation, they leave fiery trails in their wake.", LineFormat.LORE),
-13, -13,
Material.FIREBALL, (byte)0); Material.FIREBALL, (byte)0);
} }

View File

@ -19,7 +19,7 @@ public class DeathCandyCane extends DeathEffectGadget
public DeathCandyCane(GadgetManager manager) public DeathCandyCane(GadgetManager manager)
{ {
super(manager, "Candy Cane Remains", super(manager, "Candy Cane Remains",
UtilText.splitLineToArray(C.cWhite + "The biggest enemy of the Holidays, is January.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "The biggest enemy of the Holidays, is January.", LineFormat.LORE),
-3, -3,
Material.SNOW_BALL, (byte)0); Material.SNOW_BALL, (byte)0);
} }

View File

@ -15,7 +15,7 @@ public class DeathFrostLord extends DeathEffectGadget
public DeathFrostLord(GadgetManager manager) public DeathFrostLord(GadgetManager manager)
{ {
super(manager, "Fall of the Frost Lord", super(manager, "Fall of the Frost Lord",
UtilText.splitLineToArray(C.cWhite + "The power of Winter must eventually give way to Spring.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "The power of Winter must eventually give way to Spring.", LineFormat.LORE),
-3, -3,
Material.SNOW_BALL, (byte)0, "Frost Lord"); Material.SNOW_BALL, (byte)0, "Frost Lord");
} }

View File

@ -17,7 +17,7 @@ public class DeathTitan extends DeathEffectGadget
public DeathTitan(GadgetManager manager) public DeathTitan(GadgetManager manager)
{ {
super(manager, "Ashes of the Titans", super(manager, "Ashes of the Titans",
UtilText.splitLineToArray(C.cWhite + "Even a Titan can fall in combat if their opponent is fierce enough.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Even a Titan can fall in combat if their opponent is fierce enough.", LineFormat.LORE),
-13, -13,
Material.FIREBALL, (byte)0); Material.FIREBALL, (byte)0);
} }

View File

@ -19,7 +19,7 @@ public class DoubleJumpCandyCane extends DoubleJumpEffectGadget
public DoubleJumpCandyCane(GadgetManager manager) public DoubleJumpCandyCane(GadgetManager manager)
{ {
super(manager, "Candy Cane Blast", super(manager, "Candy Cane Blast",
UtilText.splitLineToArray(C.cWhite + "It is said every time an elf jumps, bits of Candy Cane fall out of their pockets.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "It is said every time an elf jumps, bits of Candy Cane fall out of their pockets.", LineFormat.LORE),
-3, -3,
Material.SNOW_BALL, (byte)0); Material.SNOW_BALL, (byte)0);
} }

View File

@ -18,7 +18,7 @@ public class DoubleJumpFrostLord extends DoubleJumpEffectGadget
public DoubleJumpFrostLord(GadgetManager manager) public DoubleJumpFrostLord(GadgetManager manager)
{ {
super(manager, "Gust of the Frost Lord", super(manager, "Gust of the Frost Lord",
UtilText.splitLineToArray(C.cWhite + "Listen, the Frost Lord is a very proper individual. Stop making fart jokes!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Listen, the Frost Lord is a very proper individual. Stop making fart jokes!", LineFormat.LORE),
-3, -3,
Material.SNOW_BALL, (byte)0, "Frost Lord"); Material.SNOW_BALL, (byte)0, "Frost Lord");
} }

View File

@ -22,7 +22,7 @@ public class DoubleJumpTitan extends DoubleJumpEffectGadget
public DoubleJumpTitan(GadgetManager manager) public DoubleJumpTitan(GadgetManager manager)
{ {
super(manager, "Leap of the Titans", super(manager, "Leap of the Titans",
UtilText.splitLineToArray(C.cWhite + "Out of the frying pan and into the fire.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Out of the frying pan and into the fire.", LineFormat.LORE),
-13, -13,
Material.FIREBALL, (byte)0); Material.FIREBALL, (byte)0);
} }

View File

@ -15,7 +15,7 @@ public class HatCoal extends HatGadget
public HatCoal(GadgetManager manager) public HatCoal(GadgetManager manager)
{ {
super(manager, "Lump of Coal", super(manager, "Lump of Coal",
UtilText.splitLineToArray(C.cWhite + "", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "When life gives you coal, make a wierd cube hat out it!", LineFormat.LORE),
-3, -3,
new ItemStack(Material.COAL_BLOCK)); new ItemStack(Material.COAL_BLOCK));
} }

View File

@ -12,7 +12,7 @@ public class HatGrinch extends HatGadget
public HatGrinch(GadgetManager manager) public HatGrinch(GadgetManager manager)
{ {
super(manager, "The Grinch", super(manager, "The Grinch",
UtilText.splitLineToArray(C.cWhite + "", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Grinchtastic", LineFormat.LORE),
-3, -3,
"christmasgift"); "christmasgift");
} }

View File

@ -12,7 +12,7 @@ public class HatPresent extends HatGadget
public HatPresent(GadgetManager manager) public HatPresent(GadgetManager manager)
{ {
super(manager, "Present", super(manager, "Present",
UtilText.splitLineToArray(C.cWhite + "", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "WHAT IN THE PRESENT? Oh, it's just you...", LineFormat.LORE),
-3, -3,
"christmasgift"); "christmasgift");
} }

View File

@ -12,7 +12,7 @@ public class HatSanta extends HatGadget
public HatSanta(GadgetManager manager) public HatSanta(GadgetManager manager)
{ {
super(manager, "Santa", super(manager, "Santa",
UtilText.splitLineToArray(C.cWhite + "", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Now you can work the Mall circuit!", LineFormat.LORE),
-3, -3,
"Presents"); "Presents");
} }

View File

@ -12,7 +12,7 @@ public class HatSnowman extends HatGadget
public HatSnowman(GadgetManager manager) public HatSnowman(GadgetManager manager)
{ {
super(manager, "Snowmans Head", super(manager, "Snowmans Head",
UtilText.splitLineToArray(C.cWhite + "", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Do you want to be a snowman?", LineFormat.LORE),
-3, -3,
"snowman002"); "snowman002");
} }

View File

@ -40,7 +40,7 @@ public class ItemBatGun extends ItemGadget
public ItemBatGun(GadgetManager manager) public ItemBatGun(GadgetManager manager)
{ {
super(manager, "Bat Blaster", super(manager, "Bat Blaster",
UtilText.splitLineToArray(C.cWhite + "Unleash waves of terrifying bats at people you don't like!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Unleash waves of terrifying bats at people you don't like!", LineFormat.LORE),
-1, -1,
Material.IRON_BARDING, (byte)0, Material.IRON_BARDING, (byte)0,
5000, new Ammo("Bat Blaster", "50 Bats", Material.IRON_BARDING, (byte)0, new String[] { C.cWhite + "50 Bats for your Bat Blaster!" }, 500, 50)); 5000, new Ammo("Bat Blaster", "50 Bats", Material.IRON_BARDING, (byte)0, new String[] { C.cWhite + "50 Bats for your Bat Blaster!" }, 500, 50));

View File

@ -43,7 +43,7 @@ public class ItemCoal extends ItemGadget
public ItemCoal(GadgetManager manager) public ItemCoal(GadgetManager manager)
{ {
super(manager, "Coal", super(manager, "Coal",
UtilText.splitLineToArray(C.cWhite + "", LineFormat.LORE) UtilText.splitLineToArray(C.cGray + "", LineFormat.LORE)
, -1, Material.COAL, (byte) 0, 1000, new Ammo("Coal", "1 Piece of Coal", Material.COAL, (byte) 0, new String[] , -1, Material.COAL, (byte) 0, 1000, new Ammo("Coal", "1 Piece of Coal", Material.COAL, (byte) 0, new String[]
{ {
C.cDGray + "Exclusive Coal!", C.cDGray + "Exclusive Coal!",

View File

@ -45,11 +45,11 @@ public class MorphBat extends MorphGadget implements IThrown
super(manager, "Bat Morph", super(manager, "Bat Morph",
UtilText.splitLinesToArray(new String[] UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Flap around and annoy people by screeching loudly into their ears!", C.cGray + "Flap around and annoy people by screeching loudly into their ears!",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Left-Click" + C.cGray + " to use " + C.cGreen + "Screech", "#" + C.cWhite + "Left-Click to use Screech",
"#" + C.cYellow + "Double Jump" + C.cGray + " to use " + C.cGreen + "Flap", "#" + C.cWhite + "Double Jump to use Flap",
"#" + C.cYellow + "Sneak" + C.cGray + " to use " + C.cGreen + "Poop", "#" + C.cWhite + "Sneak to use Poop",
}, LineFormat.LORE), }, LineFormat.LORE),
40000, 40000,
Material.SKULL_ITEM, (byte)1); Material.SKULL_ITEM, (byte)1);

View File

@ -29,9 +29,9 @@ public class MorphBlaze extends MorphGadget
super(manager, "Blaze Morph", super(manager, "Blaze Morph",
UtilText.splitLinesToArray(new String[] UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Transform into a fiery Blaze, straight from the Nether!", C.cGray + "Transform into a fiery Blaze, straight from the Nether!",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Crouch" + C.cGray + " to use " + C.cGreen + "Firefly", "#" + C.cWhite + "Crouch to use Firefly",
}, LineFormat.LORE), }, LineFormat.LORE),
-11, -11,
Material.BLAZE_POWDER, (byte)0); Material.BLAZE_POWDER, (byte)0);

View File

@ -36,10 +36,10 @@ public class MorphBlock extends MorphGadget
{ {
super(manager, "Block Morph", UtilText.splitLinesToArray(new String[] super(manager, "Block Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "The blockiest block that ever blocked.", C.cGray + "The blockiest block that ever blocked.",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Change Block", "#" + C.cWhite + "Left Click to use Change Block",
"#" + C.cYellow + "Stay Still" + C.cGray + " to use " + C.cGreen + "Solidify", "#" + C.cWhite + "Stay Still to use Solidify",
}, LineFormat.LORE), }, LineFormat.LORE),
30000, 30000,
Material.EMERALD_BLOCK, (byte)0); Material.EMERALD_BLOCK, (byte)0);

View File

@ -54,10 +54,10 @@ public class MorphBunny extends MorphGadget
{ {
super(manager, "Easter Bunny Morph", UtilText.splitLinesToArray(new String[] super(manager, "Easter Bunny Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Happy Easter!", C.cGray + "Happy Easter!",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Charge Crouch" + C.cGray + " to use " + C.cGreen + "Super Jump", "#" + C.cWhite + "Charge Crouch to use Super Jump",
"#" + C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Hide Easter Egg", "#" + C.cWhite + "Left Click to use Hide Easter Egg",
C.blankLine, C.blankLine,
"#" + C.cRed +C.Bold + "WARNING: " + ChatColor.RESET + "Hide Easter Egg uses 500 Coins" , "#" + C.cRed +C.Bold + "WARNING: " + ChatColor.RESET + "Hide Easter Egg uses 500 Coins" ,
}, LineFormat.LORE), }, LineFormat.LORE),

View File

@ -37,10 +37,10 @@ public class MorphChicken extends MorphGadget
{ {
super(manager, "Chicken Morph", UtilText.splitLinesToArray(new String[] super(manager, "Chicken Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Soar through the air like a fat Chicken!", C.cGray + "Soar through the air like a fat Chicken!",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Egg Shot", "#" + C.cWhite + "Left Click to use Egg Shot",
"#" + C.cYellow + "Double Jump" + C.cGray + " to use " + C.cGreen + "Flap", "#" + C.cWhite + "Double Jump to use Flap",
}, LineFormat.LORE), }, LineFormat.LORE),
20000, 20000,
Material.FEATHER, (byte)0); Material.FEATHER, (byte)0);

View File

@ -22,9 +22,9 @@ public class MorphCow extends MorphGadget
{ {
super(manager, "Cow Morph", UtilText.splitLinesToArray(new String[] super(manager, "Cow Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "How now brown cow?", C.cGray + "How now brown cow?",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Moo", "#" + C.cWhite + "Left Click to use Moo",
}, LineFormat.LORE), }, LineFormat.LORE),
6000, 6000,
Material.LEATHER, (byte)0); Material.LEATHER, (byte)0);

View File

@ -37,9 +37,9 @@ public class MorphCreeper extends MorphGadget
{ {
super(manager, "Creeper Morph", UtilText.splitLinesToArray(new String[] super(manager, "Creeper Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Become the creepiest of Creepers that ever creeped!", C.cGray + "Become the creepiest of Creepers that ever creeped!",
C.blankLine, C.blankLine,
C.cYellow + "Crouch" + C.cGray + " to use " + C.cGreen + "Detonate", C.cWhite + "Crouch to use Detonate",
}, LineFormat.LORE), }, LineFormat.LORE),
-11, -11,
Material.SKULL_ITEM, (byte)4); Material.SKULL_ITEM, (byte)4);

View File

@ -33,9 +33,9 @@ public class MorphEnderman extends MorphGadget
{ {
super(manager, "Enderman Morph", UtilText.splitLinesToArray(new String[] super(manager, "Enderman Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Using morph is the ultimate diet! Guaranteed instant results!", C.cGray + "Using this morph is the ultimate diet! Guaranteed instant results!",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Double Jump" + C.cGray + " to use " + C.cGreen + "Blink", "#" + C.cWhite + "Double Jump to use Blink",
}, LineFormat.LORE), }, LineFormat.LORE),
30000, 30000,
Material.ENDER_PEARL, (byte)0); Material.ENDER_PEARL, (byte)0);

View File

@ -35,10 +35,10 @@ public class MorphPig extends MorphGadget
{ {
super(manager, "Pig Morph", UtilText.splitLinesToArray(new String[] super(manager, "Pig Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Oink. Oink. Oink.... Oink?", C.cGray + "Oink. Oink. Oink.... Oink?",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Oink", "#" + C.cWhite + "Left Click to use Oink",
"#" + C.cYellow + "Collide" + C.cGray + " to use " + C.cGreen + "Pig Bounce", "#" + C.cWhite + "Collide to use Pig Bounce",
}, LineFormat.LORE), }, LineFormat.LORE),
-10, -10,
Material.PORK, (byte)0); Material.PORK, (byte)0);

View File

@ -21,7 +21,7 @@ public class MorphPumpkinKing extends MorphGadget
{ {
super(manager, "Pumpkin Kings Head", UtilText.splitLinesToArray(new String[] super(manager, "Pumpkin Kings Head", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Transforms the wearer into the dreaded Pumpkin King!", C.cGray + "Transforms the wearer into the dreaded Pumpkin King!",
}, LineFormat.LORE), }, LineFormat.LORE),
-4, -4,
Material.PUMPKIN, (byte)0); Material.PUMPKIN, (byte)0);

View File

@ -29,11 +29,11 @@ public class MorphSlime extends MorphGadget
{ {
super(manager, "Big Larry Morph", UtilText.splitLinesToArray(new String[] super(manager, "Big Larry Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Have you ever looked at Big Larry and thought, \'I really want to be that guy!\'? Well, today is your lucky day!", C.cGray + "Have you ever looked at Big Larry and thought, \'I really want to be that guy!\'? Well, today is your lucky day!",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Bounce", "#" + C.cWhite + "Left Click to use Bounce",
C.blankLine, C.blankLine,
"#" + C.cGreen + "+1 Size per 10 Mineplex Levels", "#" + C.cWhite + "+1 Size per 10 Mineplex Levels",
}, LineFormat.LORE), }, LineFormat.LORE),
80000, 80000,
Material.SLIME_BALL, (byte)0); Material.SLIME_BALL, (byte)0);

View File

@ -44,12 +44,12 @@ public class MorphSnowman extends MorphGadget
super(manager, "Olaf Morph", super(manager, "Olaf Morph",
UtilText.splitLinesToArray(new String[] UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Do you wanna build a snowman?", C.cGray + "Do you wanna build a snowman?",
C.cWhite + "It doesn't have to be a snowman...", C.cGray + "It doesn't have to be a snowman...",
C.cWhite + "Or... it kind of does...", C.cGray + "Or... it kind of does...",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Left-Click" + C.cGray + " to use " + C.cGreen + "Blizzard", "#" + C.cWhite + "Left-Click to use Blizzard",
"#" + C.cYellow + "Sneak" + C.cGray + " to use " + C.cGreen + "Snow Slide", "#" + C.cWhite + "Sneak to use Snow Slide",
}, LineFormat.LORE), }, LineFormat.LORE),
-3, Material.SNOW_BALL, (byte) 0); -3, Material.SNOW_BALL, (byte) 0);
} }

View File

@ -46,9 +46,9 @@ public class MorphTitan extends MorphGadget
{ {
super(manager, "Elder Guardian Morph", UtilText.splitLinesToArray(new String[] super(manager, "Elder Guardian Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "From the depths of the sea, the Elder Guardian posseses powers more amazing than any seen before!", C.cGray + "From the depths of the sea, the Elder Guardian posseses powers more amazing than any seen before!",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Left-Click" + C.cGray + " to use " + C.cGreen + "Guardians Laser", "#" + C.cWhite + "Left-Click to use Guardians Laser",
}, LineFormat.LORE), }, LineFormat.LORE),
-13, -13,
Material.PRISMARINE_CRYSTALS, (byte)0); Material.PRISMARINE_CRYSTALS, (byte)0);

View File

@ -44,9 +44,9 @@ public class MorphVillager extends MorphGadget implements IThrown
{ {
super(manager, "Villager Morph", UtilText.splitLinesToArray(new String[] super(manager, "Villager Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "HURRRR! MURR HURRR!", C.cGray + "HURRRR! MURR HURRR!",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Gem Throw", "#" + C.cWhite + "Left Click to use Gem Throw",
C.blankLine, C.blankLine,
"#" + C.cRed +C.Bold + "WARNING: " + ChatColor.RESET + "Gem Throw uses 20 Gems" "#" + C.cRed +C.Bold + "WARNING: " + ChatColor.RESET + "Gem Throw uses 20 Gems"
}, LineFormat.LORE), }, LineFormat.LORE),

View File

@ -47,9 +47,9 @@ public class MorphWither extends MorphGadget
{ {
super(manager, "Wither Morph", UtilText.splitLinesToArray(new String[] super(manager, "Wither Morph", UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Legends have foretold the coming of a powerful Wither...", C.cGray + "Legends have foretold the coming of a powerful Wither...",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Wither Skull", "#" + C.cWhite + "Left Click to use Wither Skull",
}, LineFormat.LORE), }, LineFormat.LORE),
-12, -12,
Material.SKULL_ITEM, (byte)1); Material.SKULL_ITEM, (byte)1);

View File

@ -29,7 +29,7 @@ public class ParticleCandyCane extends ParticleGadget
public ParticleCandyCane(GadgetManager manager) public ParticleCandyCane(GadgetManager manager)
{ {
super(manager, "Crushed Candy Cane", super(manager, "Crushed Candy Cane",
UtilText.splitLineToArray(C.cWhite + "Theres no such thing as too much Christmas Candy. Dont listen to your dentist.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Theres no such thing as too much Christmas Candy. Dont listen to your dentist.", LineFormat.LORE),
-3, Material.CHEST, (byte)0); -3, Material.CHEST, (byte)0);
} }

View File

@ -21,7 +21,7 @@ public class ParticleCoalFumes extends ParticleGadget
public ParticleCoalFumes(GadgetManager manager) public ParticleCoalFumes(GadgetManager manager)
{ {
super(manager, "Coal Fumes", super(manager, "Coal Fumes",
UtilText.splitLineToArray(C.cWhite + "Being on the Naughty List does have some perks... if you love coal, that is...", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Being on the Naughty List does have some perks... if you love coal, that is...", LineFormat.LORE),
-1, Material.COAL, (byte) 0); -1, Material.COAL, (byte) 0);
} }

View File

@ -22,7 +22,7 @@ public class ParticleEnchant extends ParticleGadget
public ParticleEnchant(GadgetManager manager) public ParticleEnchant(GadgetManager manager)
{ {
super(manager, "Enchanted", super(manager, "Enchanted",
UtilText.splitLineToArray(C.cWhite + "The wisdom of the universe suddenly find you extremely attractive, and wants to \'enchant\' you.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "The wisdom of the universe suddenly find you extremely attractive, and wants to \'enchant\' you.", LineFormat.LORE),
-2, -2,
Material.BOOK, (byte)0); Material.BOOK, (byte)0);
} }

View File

@ -23,9 +23,9 @@ public class ParticleFairy extends ParticleGadget
{ {
super(manager, "Flame Fairy", new String[] super(manager, "Flame Fairy", new String[]
{ {
C.cWhite + "HEY! LISTEN!", C.cGray + "HEY! LISTEN!",
C.cWhite + "HEY! LISTEN!", C.cGray + "HEY! LISTEN!",
C.cWhite + "HEY! LISTEN!", C.cGray + "HEY! LISTEN!",
}, },
-2, -2,
Material.BLAZE_POWDER, (byte)0); Material.BLAZE_POWDER, (byte)0);

View File

@ -24,7 +24,7 @@ public class ParticleFireRings extends ParticleGadget
public ParticleFireRings(GadgetManager manager) public ParticleFireRings(GadgetManager manager)
{ {
super(manager, "Flame Rings", super(manager, "Flame Rings",
UtilText.splitLineToArray(C.cWhite + "Forged from the blazing rods of 1000 Blazes by the infamous Nether King.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Forged from the blazing rods of 1000 Blazes by the infamous Nether King.", LineFormat.LORE),
-2, -2,
Material.BLAZE_POWDER, (byte)0); Material.BLAZE_POWDER, (byte)0);
} }

View File

@ -38,7 +38,7 @@ public class ParticleFoot extends ParticleGadget
public ParticleFoot(GadgetManager manager) public ParticleFoot(GadgetManager manager)
{ {
super(manager, "Shadow Walk", super(manager, "Shadow Walk",
UtilText.splitLineToArray(C.cWhite + "In a world where footprints do not exist, leaving your shadow behind is the next best thing!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "In a world where footprints do not exist, leaving your shadow behind is the next best thing!", LineFormat.LORE),
-2, -2,
Material.LEATHER_BOOTS, (byte)0); Material.LEATHER_BOOTS, (byte)0);
} }

View File

@ -28,7 +28,7 @@ public class ParticleFrostLord extends ParticleGadget
public ParticleFrostLord(GadgetManager manager) public ParticleFrostLord(GadgetManager manager)
{ {
super(manager, "Wind of the Frost Lord", super(manager, "Wind of the Frost Lord",
UtilText.splitLineToArray(C.cWhite + "Hes not passing wind okay? HE HAS A CONDITION!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Hes not passing wind okay? HE HAS A CONDITION!", LineFormat.LORE),
-3, -3,
Material.SNOW_BALL, (byte)0, "Frost Lord"); Material.SNOW_BALL, (byte)0, "Frost Lord");
} }

View File

@ -24,7 +24,7 @@ public class ParticleGreen extends ParticleGadget
public ParticleGreen(GadgetManager manager) public ParticleGreen(GadgetManager manager)
{ {
super(manager, "Green Ring", super(manager, "Green Ring",
UtilText.splitLineToArray(C.cWhite + "With these sparkles, you can sparkle while sparkle with CaptainSparklez!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "With these sparkles, you can sparkle while sparkle with CaptainSparklez!", LineFormat.LORE),
-2, -2,
Material.EMERALD, (byte)0); Material.EMERALD, (byte)0);
} }

View File

@ -34,7 +34,7 @@ public class ParticleHeart extends ParticleGadget {
public ParticleHeart(GadgetManager manager) public ParticleHeart(GadgetManager manager)
{ {
super(manager, "I Heart You", super(manager, "I Heart You",
UtilText.splitLineToArray(C.cWhite + "Show off how much you love Mineplex and everyone on it!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Show off how much you love Mineplex and everyone on it!", LineFormat.LORE),
-2, -2,
Material.APPLE, (byte)0); Material.APPLE, (byte)0);
} }

View File

@ -24,7 +24,7 @@ public class ParticleHelix extends ParticleGadget
public ParticleHelix(GadgetManager manager) public ParticleHelix(GadgetManager manager)
{ {
super(manager, "Blood Helix", super(manager, "Blood Helix",
UtilText.splitLineToArray(C.cWhite + "Blood magic is very dangerous... but also very cool!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Blood magic is very dangerous... but also very cool!", LineFormat.LORE),
-2, -2,
Material.REDSTONE, (byte)0); Material.REDSTONE, (byte)0);
} }

View File

@ -25,9 +25,9 @@ public class ParticleKronos extends ParticleGadget
{ {
super(manager, "Titanic Aura", new String[] super(manager, "Titanic Aura", new String[]
{ {
C.cWhite + "A symbol of Titan power", C.cGray + "A symbol of Titan power",
C.cWhite + "whos ancestry traces back to Kronos,", C.cGray + "whos ancestry traces back to Kronos,",
C.cWhite + "Titan Lord of Time.", C.cGray + "Titan Lord of Time.",
" ", " ",
C.cRed + "???" C.cRed + "???"
//When purchasable: C.cRed + "Unlocked with Titan Rank" //When purchasable: C.cRed + "Unlocked with Titan Rank"

View File

@ -22,7 +22,7 @@ public class ParticleLegend extends ParticleGadget
public ParticleLegend(GadgetManager manager) public ParticleLegend(GadgetManager manager)
{ {
super(manager, "Legendary Aura", super(manager, "Legendary Aura",
UtilText.splitLineToArray(C.cWhite + "This particle will be updated soon! Yay!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "This particle will be updated soon! Yay!", LineFormat.LORE),
-1, -1,
Material.ENDER_PORTAL_FRAME, (byte)0); Material.ENDER_PORTAL_FRAME, (byte)0);
} }

View File

@ -24,7 +24,7 @@ public class ParticleRain extends ParticleGadget
public ParticleRain(GadgetManager manager) public ParticleRain(GadgetManager manager)
{ {
super(manager, "Rain Cloud", super(manager, "Rain Cloud",
UtilText.splitLineToArray(C.cWhite + "Bring your sadness wherever you go, with your very own portable rain cloud!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Bring your sadness wherever you go, with your very own portable rain cloud!", LineFormat.LORE),
-2, -2,
Material.INK_SACK, (byte)4); Material.INK_SACK, (byte)4);
} }

View File

@ -27,7 +27,7 @@ public class ParticleTitan extends ParticleGadget
public ParticleTitan(GadgetManager manager) public ParticleTitan(GadgetManager manager)
{ {
super(manager, "Flame of the Titans", super(manager, "Flame of the Titans",
UtilText.splitLineToArray(C.cWhite + "These flames are said to be the spirit of a Titan.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "These flames are said to be the spirit of a Titan.", LineFormat.LORE),
-1, -1,
Material.FIREBALL, (byte)0); Material.FIREBALL, (byte)0);
} }

View File

@ -32,7 +32,7 @@ public class MountBabyReindeer extends HorseMount
public MountBabyReindeer(MountManager manager) public MountBabyReindeer(MountManager manager)
{ {
super(manager, "Baby Rainder", super(manager, "Baby Rainder",
UtilText.splitLineToArray(C.cWhite + "One of Santas baby reindeers. He's still learning how to fly...", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "One of Santas baby reindeers. He's still learning how to fly...", LineFormat.LORE),
Material.SNOW_BALL, (byte) 0, -3, Color.CREAMY, Style.WHITEFIELD, Variant.HORSE, 0, null); Material.SNOW_BALL, (byte) 0, -3, Color.CREAMY, Style.WHITEFIELD, Variant.HORSE, 0, null);
} }

View File

@ -32,7 +32,7 @@ public class MountCart extends Mount<SingleEntityMountData<Minecart>>
public MountCart(MountManager manager) public MountCart(MountManager manager)
{ {
super(manager, "Minecart", Material.MINECART, (byte)0, super(manager, "Minecart", Material.MINECART, (byte)0,
UtilText.splitLineToArray(C.cWhite + "Cruise around town in your shiny new Minecart RX Turbo!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Cruise around town in your shiny new Minecart RX Turbo!", LineFormat.LORE),
15000); 15000);
KnownPackage = false; KnownPackage = false;

View File

@ -27,7 +27,7 @@ public class MountDragon extends DragonMount
public MountDragon(MountManager manager) public MountDragon(MountManager manager)
{ {
super(manager, "Ethereal Dragon", super(manager, "Ethereal Dragon",
UtilText.splitLineToArray(C.cWhite + "From the distant Ether Realm, this prized dragon is said to only obey true Heroes!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "From the distant Ether Realm, this prized dragon is said to only obey true Heroes!", LineFormat.LORE),
Material.DRAGON_EGG, Material.DRAGON_EGG,
(byte)0, (byte)0,
-11); -11);

View File

@ -24,7 +24,7 @@ public class MountFrost extends HorseMount
public MountFrost(MountManager manager) public MountFrost(MountManager manager)
{ {
super(manager, "Glacial Steed", super(manager, "Glacial Steed",
UtilText.splitLineToArray(C.cWhite + "Born in the North Pole, it leaves a trail of frost as it moves!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Born in the North Pole, it leaves a trail of frost as it moves!", LineFormat.LORE),
Material.SNOW_BALL, Material.SNOW_BALL,
(byte)0, (byte)0,
15000, 15000,

View File

@ -17,7 +17,7 @@ public class MountMule extends HorseMount
public MountMule(MountManager manager) public MountMule(MountManager manager)
{ {
super(manager, "Mount Mule", super(manager, "Mount Mule",
UtilText.splitLineToArray(C.cWhite + "Your very own trusty pack mule!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Your very own trusty pack mule!", LineFormat.LORE),
Material.HAY_BLOCK, Material.HAY_BLOCK,
(byte)0, (byte)0,
3000, 3000,

View File

@ -29,7 +29,7 @@ public class MountSheep extends HorseMount
public MountSheep(MountManager manager) public MountSheep(MountManager manager)
{ {
super(manager, "Techno Sheep", super(manager, "Techno Sheep",
UtilText.splitLineToArray(C.cWhite + "Baaaaa with all the colors of the rainbow!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Baaaaa with all the colors of the rainbow!", LineFormat.LORE),
Material.WOOL, Material.WOOL,
(byte)14, (byte)14,
3000, 3000,

View File

@ -32,7 +32,7 @@ public class MountSlime extends Mount<SingleEntityMountData<Slime>>
public MountSlime(MountManager manager) public MountSlime(MountManager manager)
{ {
super(manager, "Slime Mount", Material.SLIME_BALL, (byte)0, super(manager, "Slime Mount", Material.SLIME_BALL, (byte)0,
UtilText.splitLineToArray(C.cWhite + "Bounce around on your very own slime friend!", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Bounce around on your very own slime friend!", LineFormat.LORE),
15000); 15000);
KnownPackage = false; KnownPackage = false;

View File

@ -46,10 +46,10 @@ public class MountSpider extends HorseMount
super(manager, "Spider Mount", super(manager, "Spider Mount",
UtilText.splitLinesToArray(new String[] UtilText.splitLinesToArray(new String[]
{ {
C.cWhite + "Why ride a horse when you can ride a cute and cuddly spider!", C.cGray + "Why ride a horse when you can ride a cute and cuddly spider!",
C.blankLine, C.blankLine,
"#" + C.cYellow + "Look Up" + C.cGray + " to use " + C.cGreen + "Wall Climb", "#" + C.cWhite + "Look Up to use Wall Climb",
"#" + C.cYellow + "Jump" + C.cGray + " to use " + C.cGreen + "Leap", "#" + C.cWhite + "Jump to use Leap",
}, LineFormat.LORE), }, LineFormat.LORE),
Material.WEB, (byte) 0, -4, Color.BLACK, Style.NONE, Variant.HORSE, 2.0, Material.AIR); Material.WEB, (byte) 0, -4, Color.BLACK, Style.NONE, Variant.HORSE, 2.0, Material.AIR);
} }

View File

@ -26,7 +26,7 @@ public class MountTitan extends Mount<MountTitanData>
public MountTitan(MountManager manager) public MountTitan(MountManager manager)
{ {
super(manager, "Molten Snake", Material.MAGMA_CREAM, (byte)0, super(manager, "Molten Snake", Material.MAGMA_CREAM, (byte)0,
UtilText.splitLineToArray(C.cWhite + "Deep under the earths surface, there exists a mythical species of Molten Snakes. This one will serve you eternally.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Deep under the earths surface, there exists a mythical species of Molten Snakes. This one will serve you eternally.", LineFormat.LORE),
-13); -13);
} }

View File

@ -24,7 +24,7 @@ public class MountUndead extends HorseMount
public MountUndead(MountManager manager) public MountUndead(MountManager manager)
{ {
super(manager, "Infernal Horror", super(manager, "Infernal Horror",
UtilText.splitLineToArray(C.cWhite + "The most ghastly horse in existance, from the pits of the Nether.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "The most ghastly horse in existance, from the pits of the Nether.", LineFormat.LORE),
Material.BONE, Material.BONE,
(byte)0, (byte)0,
20000, 20000,

View File

@ -16,7 +16,7 @@ public class MountZombie extends HorseMount
public MountZombie(MountManager manager) public MountZombie(MountManager manager)
{ {
super(manager, "Decrepit Warhorse", super(manager, "Decrepit Warhorse",
UtilText.splitLineToArray(C.cWhite + "Once a fierce warhorse, this undead beast will send fear into the hearts of your enemies.", LineFormat.LORE), UtilText.splitLineToArray(C.cGray + "Once a fierce warhorse, this undead beast will send fear into the hearts of your enemies.", LineFormat.LORE),
Material.ROTTEN_FLESH, Material.ROTTEN_FLESH,
(byte)0, (byte)0,
-4, -4,

View File

@ -39,8 +39,8 @@ public class PetFactory
_pets.put(EntityType.WOLF, new Pet("Dog", EntityType.WOLF, 8000)); _pets.put(EntityType.WOLF, new Pet("Dog", EntityType.WOLF, 8000));
_pets.put(EntityType.OCELOT, new Pet("Cat", EntityType.OCELOT, 6000)); _pets.put(EntityType.OCELOT, new Pet("Cat", EntityType.OCELOT, 6000));
_pets.put(EntityType.MUSHROOM_COW, new Pet("Mooshroom", EntityType.MUSHROOM_COW, 5000)); _pets.put(EntityType.MUSHROOM_COW, new Pet("Mooshroom", EntityType.MUSHROOM_COW, 5000));
_pets.put(EntityType.WITHER, new Pet("Widder", EntityType.WITHER, -1)); _pets.put(EntityType.WITHER, new Pet("Widder", EntityType.WITHER, -12));
_pets.put(EntityType.SKELETON, new Pet("Guardian", EntityType.SKELETON, -1)); _pets.put(EntityType.SKELETON, new Pet("Guardian", EntityType.SKELETON, -13));
} }
private void CreatePetExtras() private void CreatePetExtras()

View File

@ -8,7 +8,7 @@ public class Elf extends Pet
{ {
public Elf() public Elf()
{ {
super("Christmas Elf", EntityType.VILLAGER, -1); super("Christmas Elf", EntityType.VILLAGER, -4);
} }
} }

View File

@ -8,6 +8,6 @@ public class Pumpkin extends Pet
{ {
public Pumpkin() public Pumpkin()
{ {
super("Pumpling", EntityType.ZOMBIE, -1); super("Pumpling", EntityType.ZOMBIE, -5);
} }
} }