Added all the balloons!
This commit is contained in:
parent
092cde9973
commit
5198d64ab8
@ -10,8 +10,26 @@ import mineplex.core.common.util.UtilText;
|
||||
public enum BalloonType
|
||||
{
|
||||
|
||||
BABY_COW(EntityType.COW, true, "Baby Cow Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
BABY_PIG(EntityType.PIG, true, "Baby Pig Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS));
|
||||
BABY_COW (EntityType.COW, true, "Baby Cow Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
BABY_PIG (EntityType.PIG, true, "Baby Pig Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
BABY_ZOMBIE (EntityType.ZOMBIE, true, "Baby Zombie Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
BABY_MUSHROOM(EntityType.MUSHROOM_COW, true, "Baby Mushroom Cow Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
// TODO BABY WIDDER SPAWN
|
||||
BABY_WIDDER(EntityType.SILVERFISH, "Baby Widder Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
BABY_OCELOT(EntityType.OCELOT, true, "Baby Ocelot Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
BABY_WOLF(EntityType.WOLF, true, "Baby Wolf Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
BABY_SHEEP(EntityType.SHEEP, true, "Baby Sheep Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
BABY_VILLAGER(EntityType.VILLAGER, true, "Baby Villager Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
SQUID(EntityType.SQUID, "Squid Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
BAT(EntityType.BAT, "Bat Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
SILVERFISH(EntityType.SILVERFISH, "Silverfish Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
GUARDIAN(EntityType.GUARDIAN, "Guardian Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
BABY_SLIME(EntityType.SLIME, true, "Baby Slime Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0, new ItemStack(Material.GLASS)),
|
||||
DRAGON_EGG(new ItemStack(Material.DRAGON_EGG), false, "Dragon Egg Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0),
|
||||
DIAMOND_BLOCK(new ItemStack(Material.DIAMOND_BLOCK), false, "Diamond Block Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0),
|
||||
IRON_BLOCK(new ItemStack(Material.IRON_BLOCK), false, "Iron Block Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0),
|
||||
GOLD_BLOCK(new ItemStack(Material.GOLD_BLOCK), false, "Gold Block Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0),
|
||||
EMERALD_BLOCK(new ItemStack(Material.EMERALD_BLOCK), false, "Emerald Block Balloon", UtilText.splitLinesToArray(new String[]{"Placeholder"}, LineFormat.LORE), 0);
|
||||
|
||||
private EntityType _entityType;
|
||||
private boolean _isBaby;
|
||||
@ -20,6 +38,11 @@ public enum BalloonType
|
||||
private int _cost;
|
||||
private ItemStack _displayItem;
|
||||
|
||||
BalloonType(EntityType entityType, String name, String[] lore, int cost, ItemStack displayItem)
|
||||
{
|
||||
this(entityType, false, name, lore, cost, displayItem);
|
||||
}
|
||||
|
||||
BalloonType(EntityType entityType, boolean isBaby, String name, String[] lore, int cost, ItemStack displayItem)
|
||||
{
|
||||
_entityType = entityType;
|
||||
@ -30,6 +53,11 @@ public enum BalloonType
|
||||
_displayItem = displayItem;
|
||||
}
|
||||
|
||||
BalloonType(ItemStack block, boolean isBaby, String name, String[] lore, int cost)
|
||||
{
|
||||
this(EntityType.ARMOR_STAND, isBaby, name, lore, cost, block);
|
||||
}
|
||||
|
||||
public EntityType getEntityType()
|
||||
{
|
||||
return _entityType;
|
||||
|
Loading…
Reference in New Issue
Block a user