From 175352108eca3b297d6d022dfcdc4e5410878aac Mon Sep 17 00:00:00 2001 From: Bernhard Bonigl Date: Sat, 23 Aug 2014 11:28:56 +0200 Subject: [PATCH] Change how leaf fletchlings are handled to be more general. Basically ALL leaves can be used for leaf fletchlings now. --- .../library/TConstructRegistry.java | 10 ++---- .../library/tools/FletchingMaterial.java | 8 +++++ .../library/tools/FletchlingLeafMaterial.java | 32 ++++++++++++++++++- .../tconstruct/tools/TinkerToolEvents.java | 31 +++--------------- .../java/tconstruct/tools/TinkerTools.java | 4 +-- 5 files changed, 47 insertions(+), 38 deletions(-) diff --git a/src/main/java/tconstruct/library/TConstructRegistry.java b/src/main/java/tconstruct/library/TConstructRegistry.java index 97cb62e157d..8cf8343134a 100644 --- a/src/main/java/tconstruct/library/TConstructRegistry.java +++ b/src/main/java/tconstruct/library/TConstructRegistry.java @@ -217,7 +217,7 @@ public static ArrayList getToolMapping () * multiple times the parts are added to the recipe's input list Valid part * amounts are 2, 3, and 4. * - * @see ToolBuidler + * @see ToolBuilder * @param output * The ToolCore to craft * @param parts @@ -241,8 +241,6 @@ public static void addToolRecipe (ToolCore output, Item... parts) * * @param materialID * Unique ID, stored for each part - * @exception materialID - * must be unique * @param materialName * Unique name for data lookup purposes * @param harvestLevel @@ -283,8 +281,6 @@ public static void addToolMaterial (int materialID, String materialName, int har * * @param materialID * Unique ID, stored for each part - * @exception materialID - * must be unique * @param materialName * Unique name for data lookup purposes * @param displayName @@ -327,8 +323,6 @@ public static void addToolMaterial (int materialID, String materialName, String * * @param materialID * Unique ID, stored for each part - * @exception materialID - * must be unique * @param material * Complete tool material to add. Uses the name in the material * for lookup purposes. @@ -456,7 +450,7 @@ public static CustomMaterial getCustomMaterial (ItemStack input, Class