finished cosmetic names
This commit is contained in:
parent
05a80b23a1
commit
fe7ce40783
@ -22,7 +22,6 @@ import mineplex.core.cosmetic.ui.button.DeactivateGadgetButton;
|
||||
import mineplex.core.cosmetic.ui.button.GadgetButton;
|
||||
import mineplex.core.donation.DonationManager;
|
||||
import mineplex.core.gadget.gadgets.morph.MorphBlock;
|
||||
import mineplex.core.gadget.gadgets.morph.MorphNotch;
|
||||
import mineplex.core.gadget.types.Gadget;
|
||||
import mineplex.core.gadget.types.GadgetType;
|
||||
import mineplex.core.gadget.types.ItemGadget;
|
||||
@ -71,14 +70,8 @@ public class GadgetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
|
||||
|
||||
protected void addGadget(Gadget gadget, int slot)
|
||||
{
|
||||
if (gadget instanceof MorphNotch)
|
||||
{
|
||||
//setItem(slot, new ShopItem(gadget.GetDisplayMaterial(), gadget.GetDisplayData(), "Disabled " + gadget.GetName(), new String[] { "Sorry! Currently disabled until fix is made for 1.8 players!" }, 1, false, false));
|
||||
//return;
|
||||
}
|
||||
else if (gadget instanceof MorphBlock)
|
||||
if (gadget instanceof MorphBlock)
|
||||
{
|
||||
//Prevent stacker bug
|
||||
if (getPlayer().getPassenger() != null)
|
||||
return;
|
||||
}
|
||||
@ -98,6 +91,7 @@ public class GadgetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
|
||||
{
|
||||
//Nothing
|
||||
}
|
||||
//Chest Unlocks
|
||||
else if (gadget.GetCost(CurrencyType.Coins) == -2)
|
||||
{
|
||||
itemLore.add(C.cBlack);
|
||||
@ -106,7 +100,38 @@ public class GadgetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
|
||||
else if (gadget.GetCost(CurrencyType.Coins) == -3)
|
||||
{
|
||||
itemLore.add(C.cBlack);
|
||||
itemLore.add(C.cRed + "Found in Winter Holiday Treasure Chests");
|
||||
itemLore.add(C.cWhite + "Found in Winter Holiday Treasure");
|
||||
}
|
||||
else if (gadget.GetCost(CurrencyType.Coins) == -4)
|
||||
{
|
||||
itemLore.add(C.cBlack);
|
||||
itemLore.add(C.cWhite + "Found in Halloween Pumpkin Treasure");
|
||||
}
|
||||
else if (gadget.GetCost(CurrencyType.Coins) == -5)
|
||||
{
|
||||
itemLore.add(C.cBlack);
|
||||
itemLore.add(C.cWhite + "Found in Easter Holiday Treasure");
|
||||
}
|
||||
//Rank Unlocks
|
||||
else if (gadget.GetCost(CurrencyType.Coins) == -10)
|
||||
{
|
||||
itemLore.add(C.cBlack);
|
||||
itemLore.add(C.cAqua + "Unlocked with Ultra Rank");
|
||||
}
|
||||
else if (gadget.GetCost(CurrencyType.Coins) == -11)
|
||||
{
|
||||
itemLore.add(C.cBlack);
|
||||
itemLore.add(C.cPurple + "Unlocked with Hero Rank");
|
||||
}
|
||||
else if (gadget.GetCost(CurrencyType.Coins) == -12)
|
||||
{
|
||||
itemLore.add(C.cBlack);
|
||||
itemLore.add(C.cGreen + "Unlocked with Legend Rank");
|
||||
}
|
||||
else if (gadget.GetCost(CurrencyType.Coins) == -12)
|
||||
{
|
||||
itemLore.add(C.cBlack);
|
||||
itemLore.add(C.cRed + "Unlocked with Titan Rank");
|
||||
}
|
||||
|
||||
if (gadget instanceof ItemGadget)
|
||||
|
@ -19,12 +19,14 @@ import org.bukkit.potion.PotionEffectType;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilAlg;
|
||||
import mineplex.core.common.util.UtilBlock;
|
||||
import mineplex.core.common.util.UtilEnt;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.disguise.disguises.DisguiseBat;
|
||||
import mineplex.core.projectile.IThrown;
|
||||
@ -40,15 +42,15 @@ public class MorphBat extends MorphGadget implements IThrown
|
||||
{
|
||||
public MorphBat(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Bat Morph", new String[]
|
||||
super(manager, "Bat Morph",
|
||||
UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Flap around and annoy people by",
|
||||
C.cWhite + "screeching loudly into their ears!",
|
||||
" ",
|
||||
C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Screech",
|
||||
C.cYellow + "Double Jump" + C.cGray + " to use " + C.cGreen + "Flap",
|
||||
C.cYellow + "Tap Sneak" + C.cGray + " to use " + C.cGreen + "Poop",
|
||||
},
|
||||
C.cWhite + "Flap around and annoy people by screeching loudly into their ears!",
|
||||
" ",
|
||||
C.cYellow + "Left-Click" + C.cGray + " to " + C.cGreen + "Screech",
|
||||
C.cYellow + "Double Jump" + C.cGray + " to " + C.cGreen + "Flap",
|
||||
C.cYellow + "Sneak" + C.cGray + " to " + C.cGreen + "Poop",
|
||||
}, LineFormat.LORE),
|
||||
40000,
|
||||
Material.SKULL_ITEM, (byte)1);
|
||||
}
|
||||
|
@ -9,9 +9,11 @@ import org.bukkit.event.player.PlayerJoinEvent;
|
||||
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
import mineplex.core.disguise.disguises.DisguiseBlaze;
|
||||
@ -24,15 +26,14 @@ public class MorphBlaze extends MorphGadget
|
||||
{
|
||||
public MorphBlaze(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Blaze Morph", new String[]
|
||||
super(manager, "Blaze Morph",
|
||||
UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Transforms the wearer into a fiery Blaze!",
|
||||
C.cWhite + "Transform into a fiery Blaze, straight from the Nether!",
|
||||
" ",
|
||||
C.cYellow + "Crouch" + C.cGray + " to use " + C.cGreen + "Firefly",
|
||||
" ",
|
||||
C.cPurple + "Unlocked with Hero Rank",
|
||||
},
|
||||
-1,
|
||||
}, LineFormat.LORE),
|
||||
-11,
|
||||
Material.BLAZE_POWDER, (byte)0);
|
||||
}
|
||||
|
||||
|
@ -14,9 +14,11 @@ import org.bukkit.event.entity.ItemSpawnEvent;
|
||||
import org.bukkit.event.player.PlayerInteractEvent;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilBlock;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilMath;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.event.StackerEvent;
|
||||
import mineplex.core.gadget.GadgetManager;
|
||||
@ -32,13 +34,13 @@ public class MorphBlock extends MorphGadget
|
||||
|
||||
public MorphBlock(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Block Morph", new String[]
|
||||
super(manager, "Block Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "The blockiest block that ever blocked.",
|
||||
" ",
|
||||
C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Change Block",
|
||||
C.cYellow + "Stay Still" + C.cGray + " to use " + C.cGreen + "Solidify",
|
||||
},
|
||||
}, LineFormat.LORE),
|
||||
30000,
|
||||
Material.EMERALD_BLOCK, (byte)0);
|
||||
}
|
||||
|
@ -24,12 +24,14 @@ import org.bukkit.potion.PotionEffectType;
|
||||
import mineplex.core.common.CurrencyType;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilEnt;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilFirework;
|
||||
import mineplex.core.common.util.UtilMath;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
@ -50,7 +52,7 @@ public class MorphBunny extends MorphGadget
|
||||
|
||||
public MorphBunny(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Easter Bunny Morph", new String[]
|
||||
super(manager, "Easter Bunny Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Happy Easter!",
|
||||
" ",
|
||||
@ -58,10 +60,8 @@ public class MorphBunny extends MorphGadget
|
||||
C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Hide Easter Egg",
|
||||
" ",
|
||||
C.cRed +C.Bold + "WARNING: " + ChatColor.RESET + "Hide Easter Egg uses 500 Coins" ,
|
||||
" ",
|
||||
C.cPurple + "No longer available",
|
||||
},
|
||||
-1,
|
||||
}, LineFormat.LORE),
|
||||
-5,
|
||||
Material.MONSTER_EGG, (byte)98);
|
||||
}
|
||||
|
||||
|
@ -17,10 +17,12 @@ import org.bukkit.util.Vector;
|
||||
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilBlock;
|
||||
import mineplex.core.common.util.UtilEnt;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.disguise.disguises.DisguiseChicken;
|
||||
import mineplex.core.recharge.Recharge;
|
||||
@ -33,13 +35,13 @@ public class MorphChicken extends MorphGadget
|
||||
{
|
||||
public MorphChicken(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Chicken Morph", new String[]
|
||||
super(manager, "Chicken Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Soar through the air like a fat Chicken!",
|
||||
" ",
|
||||
C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Egg Shot",
|
||||
C.cYellow + "Double Jump" + C.cGray + " to use " + C.cGreen + "Flap",
|
||||
},
|
||||
}, LineFormat.LORE),
|
||||
20000,
|
||||
Material.FEATHER, (byte)0);
|
||||
}
|
||||
|
@ -7,7 +7,9 @@ import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.player.*;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.disguise.disguises.DisguiseCow;
|
||||
import mineplex.core.recharge.Recharge;
|
||||
@ -18,12 +20,12 @@ public class MorphCow extends MorphGadget
|
||||
{
|
||||
public MorphCow(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Cow Morph", new String[]
|
||||
super(manager, "Cow Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "How now brown cow?",
|
||||
" ",
|
||||
C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Moo",
|
||||
},
|
||||
}, LineFormat.LORE),
|
||||
6000,
|
||||
Material.LEATHER, (byte)0);
|
||||
}
|
||||
|
@ -13,11 +13,13 @@ import org.bukkit.event.player.PlayerQuitEvent;
|
||||
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilAlg;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
import mineplex.core.disguise.disguises.DisguiseBase;
|
||||
@ -33,15 +35,13 @@ public class MorphCreeper extends MorphGadget
|
||||
|
||||
public MorphCreeper(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Creeper Morph", new String[]
|
||||
super(manager, "Creeper Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Transforms the wearer into a creepy Creeper!",
|
||||
C.cWhite + "Become the creepiest of Creepers that ever creeped!",
|
||||
" ",
|
||||
C.cYellow + "Crouch" + C.cGray + " to use " + C.cGreen + "Detonate",
|
||||
" ",
|
||||
C.cPurple + "Unlocked with Hero Rank",
|
||||
},
|
||||
-1,
|
||||
}, LineFormat.LORE),
|
||||
-11,
|
||||
Material.SKULL_ITEM, (byte)4);
|
||||
}
|
||||
|
||||
|
@ -16,8 +16,10 @@ import org.bukkit.event.player.PlayerToggleFlightEvent;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilBlock;
|
||||
import mineplex.core.common.util.UtilFirework;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.disguise.disguises.DisguiseEnderman;
|
||||
import mineplex.core.gadget.GadgetManager;
|
||||
import mineplex.core.gadget.types.MorphGadget;
|
||||
@ -29,12 +31,12 @@ public class MorphEnderman extends MorphGadget
|
||||
{
|
||||
public MorphEnderman(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Enderman Morph", new String[]
|
||||
super(manager, "Enderman Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Transforms the wearer into an Enderman!",
|
||||
C.cWhite + "Using morph is the ultimate diet! Guaranteed instant results!",
|
||||
" ",
|
||||
C.cYellow + "Double Jump" + C.cGray + " to use " + C.cGreen + "Blink",
|
||||
},
|
||||
}, LineFormat.LORE),
|
||||
30000,
|
||||
Material.ENDER_PEARL, (byte)0);
|
||||
}
|
||||
|
@ -1,75 +0,0 @@
|
||||
package mineplex.core.gadget.gadgets.morph;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.player.*;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.ProfileLoader;
|
||||
import mineplex.core.common.util.UUIDFetcher;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.disguise.disguises.DisguisePlayer;
|
||||
import mineplex.core.recharge.Recharge;
|
||||
import mineplex.core.gadget.GadgetManager;
|
||||
import mineplex.core.gadget.types.MorphGadget;
|
||||
|
||||
public class MorphGeno extends MorphGadget
|
||||
{
|
||||
private GameProfile _profile = null;
|
||||
|
||||
public MorphGeno(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Genocide604", new String[]
|
||||
{
|
||||
"Say goodbye to Genocide604 by burping",
|
||||
"and eating a lot.",
|
||||
" ",
|
||||
C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Burp",
|
||||
" ",
|
||||
C.cRed + C.Bold + "WARNING: " + ChatColor.RESET + "This is a temporary item!",
|
||||
},
|
||||
10,
|
||||
Material.SKULL_ITEM, (byte)3);
|
||||
|
||||
_profile = new ProfileLoader(UUIDFetcher.getUUIDOf("Genocide604").toString(), "Genocide604").loadProfile();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void EnableCustom(final Player player)
|
||||
{
|
||||
this.ApplyArmor(player);
|
||||
|
||||
DisguisePlayer disguise = new DisguisePlayer(player, _profile);
|
||||
Manager.getDisguiseManager().disguise(disguise);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void DisableCustom(Player player)
|
||||
{
|
||||
this.RemoveArmor(player);
|
||||
Manager.getDisguiseManager().undisguise(player);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void Action(PlayerInteractEvent event)
|
||||
{
|
||||
Player player = event.getPlayer();
|
||||
|
||||
if (!IsActive(player))
|
||||
return;
|
||||
|
||||
if (!UtilEvent.isAction(event, ActionType.L))
|
||||
return;
|
||||
|
||||
if (!Recharge.Instance.use(player, GetName(), 1500, false, false))
|
||||
return;
|
||||
|
||||
player.getWorld().playSound(player.getEyeLocation(), Sound.BURP, 1f, (float) (0.8f + Math.random() * 0.4f));
|
||||
}
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
package mineplex.core.gadget.gadgets.morph;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.player.*;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.ProfileLoader;
|
||||
import mineplex.core.common.util.UUIDFetcher;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.disguise.disguises.DisguisePlayer;
|
||||
import mineplex.core.recharge.Recharge;
|
||||
import mineplex.core.gadget.GadgetManager;
|
||||
import mineplex.core.gadget.types.MorphGadget;
|
||||
|
||||
public class MorphNotch extends MorphGadget
|
||||
{
|
||||
private GameProfile _notchProfile = null;
|
||||
|
||||
public MorphNotch(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Notch", new String[]
|
||||
{
|
||||
"Who wouldn't want to be Notch?!",
|
||||
//C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Enforce EULA",
|
||||
},
|
||||
50000,
|
||||
Material.SKULL_ITEM, (byte)3);
|
||||
|
||||
_notchProfile = new ProfileLoader(UUIDFetcher.getUUIDOf("Notch").toString(), "Notch").loadProfile();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void EnableCustom(final Player player)
|
||||
{
|
||||
this.ApplyArmor(player);
|
||||
|
||||
DisguisePlayer disguise = new DisguisePlayer(player, _notchProfile);
|
||||
Manager.getDisguiseManager().disguise(disguise);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void DisableCustom(Player player)
|
||||
{
|
||||
this.RemoveArmor(player);
|
||||
Manager.getDisguiseManager().undisguise(player);
|
||||
}
|
||||
|
||||
//@EventHandler
|
||||
public void Action(PlayerInteractEvent event)
|
||||
{
|
||||
Player player = event.getPlayer();
|
||||
|
||||
if (!IsActive(player))
|
||||
return;
|
||||
|
||||
if (!UtilEvent.isAction(event, ActionType.L))
|
||||
return;
|
||||
|
||||
if (!Recharge.Instance.use(player, GetName(), 1500, false, false))
|
||||
return;
|
||||
|
||||
player.sendMessage("You have enforced the EULA.");
|
||||
|
||||
}
|
||||
}
|
@ -11,11 +11,13 @@ import org.bukkit.event.player.*;
|
||||
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilAlg;
|
||||
import mineplex.core.common.util.UtilEnt;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilMath;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.disguise.disguises.DisguisePig;
|
||||
@ -31,16 +33,14 @@ public class MorphPig extends MorphGadget
|
||||
|
||||
public MorphPig(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Pig Morph", new String[]
|
||||
super(manager, "Pig Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Oink. Oink. Oink.... Oink?",
|
||||
" ",
|
||||
C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Oink",
|
||||
C.cYellow + "Collide" + C.cGray + " to use " + C.cGreen + "Pig Bounce",
|
||||
" ",
|
||||
C.cAqua + "Unlocked with Ultra Rank",
|
||||
},
|
||||
-1,
|
||||
}, LineFormat.LORE),
|
||||
-10,
|
||||
Material.PORK, (byte)0);
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,9 @@ import org.bukkit.entity.Skeleton.SkeletonType;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.disguise.disguises.DisguiseSkeleton;
|
||||
import mineplex.core.gadget.GadgetManager;
|
||||
import mineplex.core.gadget.types.MorphGadget;
|
||||
@ -17,15 +19,11 @@ public class MorphPumpkinKing extends MorphGadget
|
||||
{
|
||||
public MorphPumpkinKing(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Pumpkin Kings Head", new String[]
|
||||
super(manager, "Pumpkin Kings Head", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Transforms the wearer into",
|
||||
C.cWhite + "the dreaded Pumpkin King!",
|
||||
"",
|
||||
C.cYellow + "Earned by defeating the Pumpkin King",
|
||||
C.cYellow + "in the 2013 Halloween Horror Event.",
|
||||
},
|
||||
-1,
|
||||
C.cWhite + "Transforms the wearer into the dreaded Pumpkin King!",
|
||||
}, LineFormat.LORE),
|
||||
-4,
|
||||
Material.PUMPKIN, (byte)0);
|
||||
|
||||
}
|
||||
|
@ -9,9 +9,11 @@ import org.bukkit.event.player.*;
|
||||
import mineplex.core.account.CoreClientManager;
|
||||
import mineplex.core.achievement.AchievementManager;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilEnt;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.disguise.disguises.DisguiseSlime;
|
||||
import mineplex.core.recharge.Recharge;
|
||||
@ -25,14 +27,14 @@ public class MorphSlime extends MorphGadget
|
||||
|
||||
public MorphSlime(GadgetManager manager, AchievementManager achievements)
|
||||
{
|
||||
super(manager, "Big Larry Morph", new String[]
|
||||
super(manager, "Big Larry Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Become a slime like Big Larry!",
|
||||
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.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Bounce",
|
||||
" ",
|
||||
C.cWhite + "+1 Slime Size for every 10 Mineplex Levels",
|
||||
},
|
||||
}, LineFormat.LORE),
|
||||
80000,
|
||||
Material.SLIME_BALL, (byte)0);
|
||||
|
||||
|
@ -14,10 +14,12 @@ import org.bukkit.util.Vector;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.NautHashMap;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilEnt;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.common.util.UtilMath;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
@ -39,9 +41,16 @@ public class MorphSnowman extends MorphGadget
|
||||
|
||||
public MorphSnowman(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Snowman Morph",
|
||||
new String[]{ C.cWhite + "Do you wanna build a snowman?", C.cWhite + "It doesn't have to be a snowman...",
|
||||
C.cWhite + "Or... it kind of does...", " ", C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Snowball", },
|
||||
super(manager, "Olaf Morph",
|
||||
UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Do you wanna build a snowman?",
|
||||
C.cWhite + "It doesn't have to be a snowman...",
|
||||
C.cWhite + "Or... it kind of does...",
|
||||
" ",
|
||||
C.cYellow + "Left-Click" + C.cGray + " to use " + C.cGreen + "Blizzard",
|
||||
C.cYellow + "Sneak" + C.cGray + " to use " + C.cGreen + "Snow Slide",
|
||||
}, LineFormat.LORE),
|
||||
-3, Material.SNOW_BALL, (byte) 0);
|
||||
}
|
||||
|
||||
|
@ -17,11 +17,13 @@ import org.bukkit.util.Vector;
|
||||
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilAlg;
|
||||
import mineplex.core.common.util.UtilEnt;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
@ -42,15 +44,13 @@ public class MorphTitan extends MorphGadget
|
||||
|
||||
public MorphTitan(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Elder Guardian Morph", new String[]
|
||||
super(manager, "Elder Guardian Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "From the depths of the sea, the",
|
||||
C.cWhite + "Elder Guardian posseses powers",
|
||||
C.cWhite + "more amazing than any seen before!",
|
||||
" ",
|
||||
C.cRed + "Unlocked with Titan Rank",
|
||||
},
|
||||
-1,
|
||||
C.cWhite + "From the depths of the sea, the Elder Guardian posseses powers more amazing than any seen before!",
|
||||
" ",
|
||||
C.cYellow + "Left-Click" + C.cGray + " to use " + C.cGreen + "Guardians Laser",
|
||||
}, LineFormat.LORE),
|
||||
-13,
|
||||
Material.PRISMARINE_CRYSTALS, (byte)0);
|
||||
}
|
||||
|
||||
|
@ -19,10 +19,12 @@ import org.bukkit.util.Vector;
|
||||
import mineplex.core.common.CurrencyType;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilAlg;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.disguise.disguises.DisguiseVillager;
|
||||
@ -40,14 +42,14 @@ public class MorphVillager extends MorphGadget implements IThrown
|
||||
|
||||
public MorphVillager(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Villager Morph", new String[]
|
||||
super(manager, "Villager Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "HURRRR! MURR HURRR!",
|
||||
" ",
|
||||
C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Gem Throw",
|
||||
" ",
|
||||
C.cRed +C.Bold + "WARNING: " + ChatColor.RESET + "Gem Throw uses 20 Gems"
|
||||
},
|
||||
}, LineFormat.LORE),
|
||||
12000,
|
||||
Material.EMERALD, (byte)0);
|
||||
}
|
||||
|
@ -6,10 +6,12 @@ import java.util.Iterator;
|
||||
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilAlg;
|
||||
import mineplex.core.common.util.UtilEnt;
|
||||
import mineplex.core.common.util.UtilEvent;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilEvent.ActionType;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
@ -43,15 +45,13 @@ public class MorphWither extends MorphGadget
|
||||
|
||||
public MorphWither(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Wither Morph", new String[]
|
||||
super(manager, "Wither Morph", UtilText.splitLinesToArray(new String[]
|
||||
{
|
||||
C.cWhite + "Become a legendary Wither!",
|
||||
C.cWhite + "Legends have foretold the coming of a powerful Wither...",
|
||||
" ",
|
||||
C.cYellow + "Left Click" + C.cGray + " to use " + C.cGreen + "Wither Skull",
|
||||
" ",
|
||||
C.cGreen + "Unlocked with Legend Rank",
|
||||
},
|
||||
-1,
|
||||
}, LineFormat.LORE),
|
||||
-12,
|
||||
Material.SKULL_ITEM, (byte)1);
|
||||
}
|
||||
|
||||
|
@ -6,8 +6,10 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
import mineplex.core.gadget.types.ParticleGadget;
|
||||
@ -19,13 +21,8 @@ public class ParticleEnchant extends ParticleGadget
|
||||
{
|
||||
public ParticleEnchant(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Enchanted", new String[]
|
||||
{
|
||||
C.cWhite + "The wisdom of the universe",
|
||||
C.cWhite + "suddenly finds you extremely",
|
||||
C.cWhite + "attractive, and wants to",
|
||||
C.cWhite + "\'enchant\' you.",
|
||||
},
|
||||
super(manager, "Enchanted",
|
||||
UtilText.splitLineToArray(C.cWhite + "The wisdom of the universe suddenly find you extremely attractive, and wants to \'enchant\' you.", LineFormat.LORE),
|
||||
-2,
|
||||
Material.BOOK, (byte)0);
|
||||
}
|
||||
|
@ -7,8 +7,10 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
import mineplex.core.gadget.types.ParticleGadget;
|
||||
@ -21,12 +23,8 @@ public class ParticleFireRings extends ParticleGadget
|
||||
|
||||
public ParticleFireRings(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Flame Rings", new String[]
|
||||
{
|
||||
C.cWhite + "Forged from the burning ashes",
|
||||
C.cWhite + "of 1000 Blazes by the infamous",
|
||||
C.cWhite + "Flame King of the Nether realm.",
|
||||
},
|
||||
super(manager, "Flame Rings",
|
||||
UtilText.splitLineToArray(C.cWhite + "Forged from the blazing rods of 1000 Blazes by the infamous Nether King.", LineFormat.LORE),
|
||||
-2,
|
||||
Material.BLAZE_POWDER, (byte)0);
|
||||
}
|
||||
|
@ -14,11 +14,13 @@ import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilBlock;
|
||||
import mineplex.core.common.util.UtilEnt;
|
||||
import mineplex.core.common.util.UtilMath;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilTime;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
@ -35,13 +37,8 @@ public class ParticleFoot extends ParticleGadget
|
||||
|
||||
public ParticleFoot(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Shadow Walk", new String[]
|
||||
{
|
||||
C.cWhite + "In a world where footprints",
|
||||
C.cWhite + "do not exist, leaving your",
|
||||
C.cWhite + "shadow behind is the next",
|
||||
C.cWhite + "best thing.",
|
||||
},
|
||||
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),
|
||||
-2,
|
||||
Material.LEATHER_BOOTS, (byte)0);
|
||||
}
|
||||
|
@ -7,8 +7,10 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
import mineplex.core.gadget.types.ParticleGadget;
|
||||
@ -21,12 +23,8 @@ public class ParticleGreen extends ParticleGadget
|
||||
|
||||
public ParticleGreen(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Green Ring", new String[]
|
||||
{
|
||||
C.cWhite + "With these sparkles, you",
|
||||
C.cWhite + "can now sparkle while you",
|
||||
C.cWhite + "sparkle with CaptainSparklez.",
|
||||
},
|
||||
super(manager, "Green Ring",
|
||||
UtilText.splitLineToArray(C.cWhite + "With these sparkles, you can sparkle while sparkle with CaptainSparklez!", LineFormat.LORE),
|
||||
-2,
|
||||
Material.EMERALD, (byte)0);
|
||||
}
|
||||
|
@ -13,11 +13,13 @@ import org.bukkit.event.player.PlayerQuitEvent;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilAlg;
|
||||
import mineplex.core.common.util.UtilMath;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
import mineplex.core.gadget.types.ParticleGadget;
|
||||
@ -31,12 +33,8 @@ public class ParticleHeart extends ParticleGadget
{
|
||||
|
||||
public ParticleHeart(GadgetManager manager)
|
||||
{
|
||||
super(manager, "I Heart You", new String[]
|
||||
{
|
||||
C.cWhite + "With these particles, you can",
|
||||
C.cWhite + "show off how much you heart",
|
||||
C.cWhite + "everyone on Mineplex!",
|
||||
},
|
||||
super(manager, "I Heart You",
|
||||
UtilText.splitLineToArray(C.cWhite + "Show off how much you love Mineplex and everyone on it!", LineFormat.LORE),
|
||||
-2,
|
||||
Material.APPLE, (byte)0);
|
||||
}
|
||||
|
@ -7,7 +7,9 @@ import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
@ -21,12 +23,8 @@ public class ParticleHelix extends ParticleGadget
|
||||
|
||||
public ParticleHelix(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Blood Helix", new String[]
|
||||
{
|
||||
C.cWhite + "Ancient legend says this magic",
|
||||
C.cWhite + "empowers the blood of its user,",
|
||||
C.cWhite + "giving them godly powers.",
|
||||
},
|
||||
super(manager, "Blood Helix",
|
||||
UtilText.splitLineToArray(C.cWhite + "Blood magic is very dangerous... but also very cool!", LineFormat.LORE),
|
||||
-2,
|
||||
Material.REDSTONE, (byte)0);
|
||||
}
|
||||
|
@ -8,6 +8,8 @@ import org.bukkit.event.player.PlayerJoinEvent;
|
||||
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.gadget.types.ParticleGadget;
|
||||
import mineplex.core.inventory.ClientItem;
|
||||
import mineplex.core.inventory.data.Item;
|
||||
@ -19,13 +21,8 @@ public class ParticleLegend extends ParticleGadget
|
||||
{
|
||||
public ParticleLegend(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Legendary Aura", new String[]
|
||||
{
|
||||
C.cWhite + "These mystic particle attach to",
|
||||
C.cWhite + "only the most legendary of players!",
|
||||
" ",
|
||||
C.cGreen + "Unlocked with Legend Rank",
|
||||
},
|
||||
super(manager, "Legendary Aura",
|
||||
UtilText.splitLineToArray(C.cWhite + "This particle will be updated soon! Yay!", LineFormat.LORE),
|
||||
-1,
|
||||
Material.ENDER_PORTAL_FRAME, (byte)0);
|
||||
}
|
||||
|
@ -7,8 +7,10 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.LineFormat;
|
||||
import mineplex.core.common.util.UtilParticle;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.common.util.UtilText;
|
||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||
import mineplex.core.gadget.types.ParticleGadget;
|
||||
@ -21,12 +23,8 @@ public class ParticleRain extends ParticleGadget
|
||||
|
||||
public ParticleRain(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Rain Cloud", new String[]
|
||||
{
|
||||
C.cWhite + "Your very own rain cloud!",
|
||||
C.cWhite + "Now you never have to worry",
|
||||
C.cWhite + "about not being wet. Woo...",
|
||||
},
|
||||
super(manager, "Rain Cloud",
|
||||
UtilText.splitLineToArray(C.cWhite + "Bring your sadness wherever you go, with your very own portable rain cloud!", LineFormat.LORE),
|
||||
-2,
|
||||
Material.INK_SACK, (byte)4);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user