all custom crafting recipes that exist on the server for your convenience. ->Internal Entity structures have been redone to allow all calculations to apply to not only 'Monsters', but to ALL Living Entities. This also sets up the foundation for PvP in the future.dev
parent
c270d91fb7
commit
3753621b10
Binary file not shown.
@ -0,0 +1,24 @@ |
||||
package sig.plugin.TwosideKeeper.Drops; |
||||
|
||||
import org.bukkit.inventory.ItemStack; |
||||
|
||||
import aPlugin.Drop; |
||||
|
||||
public class GenericDrop extends Drop{ |
||||
|
||||
ItemStack item; |
||||
short data; |
||||
|
||||
public GenericDrop(int amount, int weight, String description, ItemStack item, short data) { |
||||
super(amount, weight, description); |
||||
this.item=item; |
||||
this.data=data; |
||||
} |
||||
|
||||
@Override |
||||
public ItemStack getItemStack() { |
||||
this.item.setDurability(data); |
||||
return this.item; |
||||
} |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package sig.plugin.TwosideKeeper.HelperStructures.Common; |
||||
|
||||
import java.util.HashMap; |
||||
|
||||
import org.bukkit.inventory.Inventory; |
||||
import org.bukkit.inventory.ItemStack; |
||||
|
||||
public class InventoryManagement { |
||||
public static void transferInventoryToInventory(Inventory from, Inventory to) { |
||||
HashMap<Integer,ItemStack> remaining = to.addItem(from.getContents()); |
||||
from.clear(); |
||||
for (int i=0;i<remaining.size();i++) { |
||||
from.addItem(remaining.get(i)); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,376 @@ |
||||
package sig.plugin.TwosideKeeper.HelperStructures.Common; |
||||
|
||||
import org.bukkit.ChatColor; |
||||
import org.bukkit.Material; |
||||
import org.bukkit.inventory.ItemStack; |
||||
|
||||
import sig.plugin.TwosideKeeper.Artifact; |
||||
import sig.plugin.TwosideKeeper.AwakenedArtifact; |
||||
import sig.plugin.TwosideKeeper.Recipes; |
||||
import sig.plugin.TwosideKeeper.HelperStructures.ArtifactItem; |
||||
import sig.plugin.TwosideKeeper.HelperStructures.ArtifactItemType; |
||||
import sig.plugin.TwosideKeeper.HelperStructures.CustomItem; |
||||
|
||||
public enum RecipeLinker { |
||||
ic(ChatColor.YELLOW,"Item Cube", |
||||
new ItemStack[]{ |
||||
CustomItem.ItemCube(), |
||||
new ItemStack(Material.WOOD),new ItemStack(Material.WOOD),new ItemStack(Material.WOOD), |
||||
new ItemStack(Material.WOOD),new ItemStack(Material.CHEST),new ItemStack(Material.WOOD), |
||||
new ItemStack(Material.WOOD),new ItemStack(Material.WOOD),new ItemStack(Material.WOOD), |
||||
}), |
||||
lic(ChatColor.YELLOW,"Large Item Cube",new ItemStack[]{ |
||||
CustomItem.LargeItemCube(), |
||||
new ItemStack(Material.WOOD),new ItemStack(Material.WOOD),new ItemStack(Material.WOOD), |
||||
new ItemStack(Material.GOLD_BLOCK),new ItemStack(Material.CHEST),new ItemStack(Material.GOLD_BLOCK), |
||||
new ItemStack(Material.WOOD),new ItemStack(Material.WOOD),new ItemStack(Material.WOOD), |
||||
}), |
||||
eic(ChatColor.YELLOW,"Ender Item Cube",new ItemStack[]{ |
||||
CustomItem.EnderItemCube(), |
||||
new ItemStack(Material.OBSIDIAN),new ItemStack(Material.OBSIDIAN),new ItemStack(Material.OBSIDIAN), |
||||
new ItemStack(Material.EMERALD),new ItemStack(Material.CHEST),new ItemStack(Material.EMERALD), |
||||
new ItemStack(Material.OBSIDIAN),new ItemStack(Material.OBSIDIAN),new ItemStack(Material.OBSIDIAN), |
||||
}), |
||||
dc(ChatColor.YELLOW,"Duplicate Ender Item Cube",new ItemStack[]{ |
||||
CustomItem.EnderItemCube(2), |
||||
CustomItem.EnderItemCube(),new ItemStack(Material.NETHER_STAR) |
||||
}), |
||||
aq(ChatColor.RED,"Arrow Quiver",new ItemStack[]{ |
||||
CustomItem.ArrowQuiver(), |
||||
null,new ItemStack(Material.LEATHER),new ItemStack(Material.EMERALD_BLOCK), |
||||
new ItemStack(Material.LEATHER),new ItemStack(Material.SPECTRAL_ARROW),new ItemStack(Material.LEATHER), |
||||
null,new ItemStack(Material.LEATHER) |
||||
}), |
||||
ihelm(ChatColor.WHITE,"Hardened Iron Helmet",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.IRON_HELMET), |
||||
new ItemStack(Material.IRON_BLOCK),new ItemStack(Material.IRON_BLOCK),new ItemStack(Material.IRON_BLOCK), |
||||
new ItemStack(Material.IRON_BLOCK),null,new ItemStack(Material.IRON_BLOCK) |
||||
}), |
||||
ichest(ChatColor.WHITE,"Hardened Iron Chestplate",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.IRON_CHESTPLATE), |
||||
new ItemStack(Material.IRON_BLOCK),null,new ItemStack(Material.IRON_BLOCK), |
||||
new ItemStack(Material.IRON_BLOCK),new ItemStack(Material.IRON_BLOCK),new ItemStack(Material.IRON_BLOCK), |
||||
new ItemStack(Material.IRON_BLOCK),new ItemStack(Material.IRON_BLOCK),new ItemStack(Material.IRON_BLOCK) |
||||
}), |
||||
ileg(ChatColor.WHITE,"Hardened Iron Leggings",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.IRON_LEGGINGS), |
||||
new ItemStack(Material.IRON_BLOCK),new ItemStack(Material.IRON_BLOCK),new ItemStack(Material.IRON_BLOCK), |
||||
new ItemStack(Material.IRON_BLOCK),null,new ItemStack(Material.IRON_BLOCK), |
||||
new ItemStack(Material.IRON_BLOCK),null,new ItemStack(Material.IRON_BLOCK) |
||||
}), |
||||
iboots(ChatColor.WHITE,"Hardened Iron Boots",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.IRON_BOOTS), |
||||
new ItemStack(Material.IRON_BLOCK),null,new ItemStack(Material.IRON_BLOCK), |
||||
new ItemStack(Material.IRON_BLOCK),null,new ItemStack(Material.IRON_BLOCK) |
||||
}), |
||||
dhelm(ChatColor.AQUA,"Hardened Diamond Helmet",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.DIAMOND_HELMET), |
||||
new ItemStack(Material.DIAMOND_BLOCK),new ItemStack(Material.DIAMOND_BLOCK),new ItemStack(Material.DIAMOND_BLOCK), |
||||
new ItemStack(Material.DIAMOND_BLOCK),null,new ItemStack(Material.DIAMOND_BLOCK) |
||||
}), |
||||
dchest(ChatColor.AQUA,"Hardened Diamond Chestplate",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.DIAMOND_CHESTPLATE), |
||||
new ItemStack(Material.DIAMOND_BLOCK),null,new ItemStack(Material.DIAMOND_BLOCK), |
||||
new ItemStack(Material.DIAMOND_BLOCK),new ItemStack(Material.DIAMOND_BLOCK),new ItemStack(Material.DIAMOND_BLOCK), |
||||
new ItemStack(Material.DIAMOND_BLOCK),new ItemStack(Material.DIAMOND_BLOCK),new ItemStack(Material.DIAMOND_BLOCK) |
||||
}), |
||||
dleg(ChatColor.AQUA,"Hardened Diamond Leggings",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.DIAMOND_LEGGINGS), |
||||
new ItemStack(Material.DIAMOND_BLOCK),new ItemStack(Material.DIAMOND_BLOCK),new ItemStack(Material.DIAMOND_BLOCK), |
||||
new ItemStack(Material.DIAMOND_BLOCK),null,new ItemStack(Material.DIAMOND_BLOCK),null, |
||||
new ItemStack(Material.DIAMOND_BLOCK),null,new ItemStack(Material.DIAMOND_BLOCK) |
||||
}), |
||||
dboots(ChatColor.AQUA,"Hardened Diamond Boots",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.DIAMOND_BOOTS), |
||||
new ItemStack(Material.DIAMOND_BLOCK),null,new ItemStack(Material.DIAMOND_BLOCK), |
||||
new ItemStack(Material.DIAMOND_BLOCK),null,new ItemStack(Material.DIAMOND_BLOCK) |
||||
}), |
||||
ghelm(ChatColor.GOLD,"Hardened Gold Helmet",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.GOLD_HELMET), |
||||
new ItemStack(Material.GOLD_BLOCK),new ItemStack(Material.GOLD_BLOCK),new ItemStack(Material.GOLD_BLOCK), |
||||
new ItemStack(Material.GOLD_BLOCK),null,new ItemStack(Material.GOLD_BLOCK) |
||||
}), |
||||
gchest(ChatColor.GOLD,"Hardened Gold Chestplate",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.GOLD_CHESTPLATE), |
||||
new ItemStack(Material.GOLD_BLOCK),null,new ItemStack(Material.GOLD_BLOCK), |
||||
new ItemStack(Material.GOLD_BLOCK),new ItemStack(Material.GOLD_BLOCK),new ItemStack(Material.GOLD_BLOCK), |
||||
new ItemStack(Material.GOLD_BLOCK),new ItemStack(Material.GOLD_BLOCK),new ItemStack(Material.GOLD_BLOCK) |
||||
}), |
||||
gleg(ChatColor.GOLD,"Hardened Gold Leggings",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.GOLD_LEGGINGS), |
||||
new ItemStack(Material.GOLD_BLOCK),new ItemStack(Material.GOLD_BLOCK),new ItemStack(Material.GOLD_BLOCK), |
||||
new ItemStack(Material.GOLD_BLOCK),null,new ItemStack(Material.GOLD_BLOCK), |
||||
new ItemStack(Material.GOLD_BLOCK),null,new ItemStack(Material.GOLD_BLOCK) |
||||
}), |
||||
gboots(ChatColor.GOLD,"Hardened Gold Boots",new ItemStack[]{ |
||||
CustomItem.HardenedPiece(Material.GOLD_BOOTS), |
||||
new ItemStack(Material.GOLD_BLOCK),null,new ItemStack(Material.GOLD_BLOCK), |
||||
new ItemStack(Material.GOLD_BLOCK),null,new ItemStack(Material.GOLD_BLOCK) |
||||
}), |
||||
@SuppressWarnings("deprecation") |
||||
wool(ChatColor.BLUE,"Wool Recoloring",new ItemStack[]{ |
||||
new ItemStack(Material.WOOL,8,(short)11), |
||||
new ItemStack(Material.WOOL,1,(short)2),new ItemStack(Material.WOOL,1,(short)3),new ItemStack(Material.WOOL,1,(short)5), |
||||
new ItemStack(Material.WOOL,1,(short)7),new ItemStack(Material.getMaterial(351),1,(short)4),new ItemStack(Material.WOOL,1,(short)8), |
||||
new ItemStack(Material.WOOL,1,(short)13),new ItemStack(Material.WOOL,1,(short)11),new ItemStack(Material.WOOL,1,(short)9) |
||||
}), |
||||
slab(ChatColor.BLUE,"Slab Reconstruction",new ItemStack[]{ |
||||
new ItemStack(Material.WOOD,1,(short)2), |
||||
new ItemStack(Material.WOOD_STEP,1,(short)2),new ItemStack(Material.WOOD_STEP,1,(short)2) |
||||
}), |
||||
check(ChatColor.BLUE,"Money Check",new ItemStack[]{ |
||||
CustomItem.MoneyCheck(), |
||||
new ItemStack(Material.FEATHER),new ItemStack(Material.INK_SACK),null, |
||||
new ItemStack(Material.PAPER), |
||||
}), |
||||
sword(ChatColor.LIGHT_PURPLE,"Artifact Sword Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.SWORD), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE) |
||||
}), |
||||
axe(ChatColor.LIGHT_PURPLE,"Artifact Axe Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.AXE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null, |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null, |
||||
null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE) |
||||
}), |
||||
boots(ChatColor.LIGHT_PURPLE,"Artifact Boots Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.BOOTS), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
}), |
||||
chest(ChatColor.LIGHT_PURPLE,"Artifact Chestplate Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.CHESTPLATE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE) |
||||
}), |
||||
leg(ChatColor.LIGHT_PURPLE,"Artifact Leggings Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.LEGGINGS), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE) |
||||
}), |
||||
helm(ChatColor.LIGHT_PURPLE,"Artifact Helmet Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.HELMET), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE) |
||||
}), |
||||
bow(ChatColor.LIGHT_PURPLE,"Artifact Bow Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.BOW), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null, |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE) |
||||
}), |
||||
scythe(ChatColor.LIGHT_PURPLE,"Artifact Scythe Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.HOE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null, |
||||
null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null, |
||||
null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE) |
||||
}), |
||||
rod(ChatColor.LIGHT_PURPLE,"Artifact Fishing Rod Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.FISHING_ROD), |
||||
null,null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE) |
||||
}), |
||||
pickaxe(ChatColor.LIGHT_PURPLE,"Artifact Pickaxe Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.PICKAXE), |
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE), |
||||
null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null, |
||||
null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null |
||||
}), |
||||
shovel(ChatColor.LIGHT_PURPLE,"Artifact Shovel Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(0, ArtifactItemType.SHOVEL), |
||||
null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null, |
||||
null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null, |
||||
null,Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE),null |
||||
}), |
||||
recipe(ChatColor.DARK_AQUA,"Recipe To Artifact",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.CHESTPLATE.getTieredItem(1),1,ArtifactItemType.CHESTPLATE.getDataValue()), |
||||
Artifact.createRecipe(0, ArtifactItemType.CHESTPLATE) |
||||
}), |
||||
t2(ChatColor.DARK_AQUA,"Upgrade to T2",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.SHOVEL.getTieredItem(2),2,ArtifactItemType.SHOVEL.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.SHOVEL.getTieredItem(1),1,ArtifactItemType.SHOVEL.getDataValue()),Artifact.createRecipe(0, ArtifactItemType.SHOVEL) |
||||
}), |
||||
t3(ChatColor.DARK_AQUA,"Upgrade to T3",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.LEGGINGS.getTieredItem(3),3,ArtifactItemType.LEGGINGS.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.LEGGINGS.getTieredItem(2),2,ArtifactItemType.LEGGINGS.getDataValue()),Artifact.createRecipe(2, ArtifactItemType.LEGGINGS) |
||||
}), |
||||
t4(ChatColor.DARK_AQUA,"Upgrade to T4",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.BOOTS.getTieredItem(4),4,ArtifactItemType.BOOTS.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.BOOTS.getTieredItem(3),3,ArtifactItemType.BOOTS.getDataValue()),Artifact.createRecipe(3, ArtifactItemType.BOOTS) |
||||
}), |
||||
t5(ChatColor.DARK_AQUA,"Upgrade to T5",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.HELMET.getTieredItem(5),5,ArtifactItemType.HELMET.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.HELMET.getTieredItem(4),4,ArtifactItemType.HELMET.getDataValue()),Artifact.createRecipe(4, ArtifactItemType.HELMET) |
||||
}), |
||||
t6(ChatColor.DARK_AQUA,"Upgrade to T6",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.SWORD.getTieredItem(6),6,ArtifactItemType.SWORD.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.SWORD.getTieredItem(5),5,ArtifactItemType.SWORD.getDataValue()),Artifact.createRecipe(5, ArtifactItemType.SWORD) |
||||
}), |
||||
t7(ChatColor.DARK_AQUA,"Upgrade to T7",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.HOE.getTieredItem(7),7,ArtifactItemType.HOE.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.HOE.getTieredItem(6),6,ArtifactItemType.HOE.getDataValue()),Artifact.createRecipe(6, ArtifactItemType.HOE) |
||||
}), |
||||
t8(ChatColor.DARK_AQUA,"Upgrade to T8",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.AXE.getTieredItem(8),8,ArtifactItemType.AXE.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.AXE.getTieredItem(7),7,ArtifactItemType.AXE.getDataValue()),Artifact.createRecipe(7, ArtifactItemType.AXE) |
||||
}), |
||||
t9(ChatColor.DARK_AQUA,"Upgrade to T9",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.PICKAXE.getTieredItem(9),9,ArtifactItemType.PICKAXE.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.PICKAXE.getTieredItem(8),8,ArtifactItemType.PICKAXE.getDataValue()),Artifact.createRecipe(8, ArtifactItemType.PICKAXE) |
||||
}), |
||||
t10(ChatColor.DARK_AQUA,"Upgrade to T10",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.SHOVEL.getTieredItem(10),10,ArtifactItemType.SHOVEL.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.SHOVEL.getTieredItem(9),9,ArtifactItemType.SHOVEL.getDataValue()),Artifact.createRecipe(9, ArtifactItemType.SHOVEL) |
||||
}), |
||||
t11(ChatColor.DARK_AQUA,"Upgrade to T11",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.PICKAXE.getTieredItem(11),11,ArtifactItemType.PICKAXE.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.PICKAXE.getTieredItem(10),10,ArtifactItemType.PICKAXE.getDataValue()),Artifact.createRecipe(10, ArtifactItemType.PICKAXE) |
||||
}), |
||||
t12(ChatColor.DARK_AQUA,"Upgrade to T12",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.AXE.getTieredItem(12),12,ArtifactItemType.AXE.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.AXE.getTieredItem(11),11,ArtifactItemType.AXE.getDataValue()),Artifact.createRecipe(11, ArtifactItemType.AXE) |
||||
}), |
||||
t13(ChatColor.DARK_AQUA,"Upgrade to T13",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.HOE.getTieredItem(13),13,ArtifactItemType.HOE.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.HOE.getTieredItem(12),12,ArtifactItemType.HOE.getDataValue()),Artifact.createRecipe(12, ArtifactItemType.HOE) |
||||
}), |
||||
t14(ChatColor.DARK_AQUA,"Upgrade to T14",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.FISHING_ROD.getTieredItem(14),14,ArtifactItemType.FISHING_ROD.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.FISHING_ROD.getTieredItem(13),13,ArtifactItemType.FISHING_ROD.getDataValue()),Artifact.createRecipe(13, ArtifactItemType.FISHING_ROD) |
||||
}), |
||||
t15(ChatColor.DARK_AQUA,"Upgrade to T15",new ItemStack[]{ |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.BOW.getTieredItem(15),15,ArtifactItemType.BOW.getDataValue()), |
||||
AwakenedArtifact.convertToAwakenedArtifact(ArtifactItemType.BOW.getTieredItem(14),14,ArtifactItemType.BOW.getDataValue()),Artifact.createRecipe(14, ArtifactItemType.BOW) |
||||
}), |
||||
t2recipe(ChatColor.WHITE,"T2 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(2, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(0, ArtifactItemType.SHOVEL),Artifact.createRecipe(0, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_ESSENCE) |
||||
}), |
||||
t3recipe(ChatColor.WHITE,"T3 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(3, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(2, ArtifactItemType.SHOVEL),Artifact.createRecipe(2, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_CORE) |
||||
}), |
||||
t4recipe(ChatColor.WHITE,"T4 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(4, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(3, ArtifactItemType.SHOVEL),Artifact.createRecipe(3, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_BASE) |
||||
}), |
||||
t5recipe(ChatColor.WHITE,"T5 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(5, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(4, ArtifactItemType.SHOVEL),Artifact.createRecipe(4, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.ANCIENT_ESSENCE) |
||||
}), |
||||
t6recipe(ChatColor.WHITE,"T6 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(6, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(5, ArtifactItemType.SHOVEL),Artifact.createRecipe(5, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.ANCIENT_CORE) |
||||
}), |
||||
t7recipe(ChatColor.WHITE,"T7 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(7, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(6, ArtifactItemType.SHOVEL),Artifact.createRecipe(6, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.ANCIENT_BASE) |
||||
}), |
||||
t8recipe(ChatColor.WHITE,"T8 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(8, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(7, ArtifactItemType.SHOVEL),Artifact.createRecipe(7, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.LOST_ESSENCE) |
||||
}), |
||||
t9recipe(ChatColor.WHITE,"T9 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(9, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(8, ArtifactItemType.SHOVEL),Artifact.createRecipe(8, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.LOST_CORE) |
||||
}), |
||||
t10recipe(ChatColor.WHITE,"T10 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(10, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(9, ArtifactItemType.SHOVEL),Artifact.createRecipe(9, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.LOST_BASE) |
||||
}), |
||||
t11recipe(ChatColor.WHITE,"T11 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(11, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(10, ArtifactItemType.SHOVEL),Artifact.createRecipe(10, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.DIVINE_ESSENCE) |
||||
}), |
||||
t12recipe(ChatColor.WHITE,"T12 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(12, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(11, ArtifactItemType.SHOVEL),Artifact.createRecipe(11, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.DIVINE_CORE) |
||||
}), |
||||
t13recipe(ChatColor.WHITE,"T13 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(13, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(12, ArtifactItemType.SHOVEL),Artifact.createRecipe(12, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.DIVINE_BASE) |
||||
}), |
||||
t14recipe(ChatColor.WHITE,"T14 Artifact Recipe",new ItemStack[]{ |
||||
Artifact.createRecipe(14, ArtifactItemType.SHOVEL), |
||||
Artifact.createRecipe(13, ArtifactItemType.SHOVEL),Artifact.createRecipe(13, ArtifactItemType.SHOVEL),null, |
||||
Artifact.createArtifactItem(ArtifactItem.DIVINE_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.DIVINE_CORE), |
||||
Artifact.createArtifactItem(ArtifactItem.DIVINE_BASE) |
||||
}), |
||||
tierup(ChatColor.YELLOW,"Increase Artifact Material Tier",new ItemStack[]{ |
||||
Artifact.createArtifactItem(ArtifactItem.LOST_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.ANCIENT_ESSENCE), |
||||
Artifact.createArtifactItem(ArtifactItem.ANCIENT_ESSENCE) |
||||
}), |
||||
tierdown(ChatColor.YELLOW,"Decrease Artifact Material Tier",new ItemStack[]{ |
||||
Artifact.createArtifactItem(ArtifactItem.ANCIENT_ESSENCE,2), |
||||
Artifact.createArtifactItem(ArtifactItem.LOST_ESSENCE) |
||||
}), |
||||
empower(ChatColor.YELLOW,"Empower Artifact Materials to Divine Tier",new ItemStack[]{ |
||||
Artifact.createArtifactItem(ArtifactItem.DIVINE_CORE), |
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_CORE),new ItemStack(Material.NETHER_STAR), |
||||
}), |
||||
arrow2(ChatColor.GREEN,"Hand-made Arrow",new ItemStack[]{ |
||||
Recipes.getArrowFromMeta("DOUBLE_DAMAGE_ARR"), |
||||
new ItemStack(Material.FLINT),new ItemStack(Material.STICK),null, |
||||
new ItemStack(Material.FEATHER), |
||||
}), |
||||
arrow4(ChatColor.GREEN,"Diamond-Tipped Arrow",new ItemStack[]{ |
||||
Recipes.getArrowFromMeta("QUADRUPLE_DAMAGE_ARR"), |
||||
Recipes.getArrowFromMeta("DOUBLE_DAMAGE_ARR"),new ItemStack(Material.DIAMOND) |
||||
}), |
||||
traparrow(ChatColor.GREEN,"Trapping Arrow",new ItemStack[]{ |
||||
Recipes.getArrowFromMeta("TRAP_ARR"), |
||||
new ItemStack(Material.WEB),new ItemStack(Material.STICK),null, |
||||
new ItemStack(Material.FEATHER), |
||||
}), |
||||
explodearrow(ChatColor.GREEN,"Exploding Arrow",new ItemStack[]{ |
||||
Recipes.getArrowFromMeta("EXPLODE_ARR"), |
||||
new ItemStack(Material.SULPHUR),new ItemStack(Material.STICK),null, |
||||
new ItemStack(Material.FEATHER), |
||||
}), |
||||
poisonarrow(ChatColor.GREEN,"Poison Arrow",new ItemStack[]{ |
||||
Recipes.getArrowFromMeta("POISON_ARR"), |
||||
new ItemStack(Material.RAW_FISH,1,(short)3),new ItemStack(Material.STICK),null, |
||||
new ItemStack(Material.FEATHER), |
||||
}); |
||||
|
||||
String name = ""; |
||||
ItemStack[] rec = null; |
||||
ChatColor col = null; |
||||
|
||||
RecipeLinker(ChatColor col, String name, ItemStack[] recipe) { |
||||
this.col=col; |
||||
this.name=name; |
||||
this.rec=recipe; |
||||
} |
||||
|
||||
public String getName() { |
||||
return name; |
||||
} |
||||
|
||||
public ItemStack[] getRec() { |
||||
return rec; |
||||
} |
||||
|
||||
public ChatColor getColor() { |
||||
return col; |
||||
} |
||||
} |
Loading…
Reference in new issue