// Path: src/main/java/brightspark/sparkshammers/customTools/Tool.java
// public class Tool
// {
//     public String name, localName;
//     public ToolMaterial material;
//     public int toolColour;
//     public String dependantOreDic;
//     public ItemStack dependantStack;
// 
//     protected Tool(String name, ToolMaterial material, int toolColour)
//     {
//         localName = name;
//         this.name = name.toLowerCase().replaceAll("\\s", "");
//         this.material = material;
//         this.toolColour = toolColour;
//     }
// 
//     public Tool(String name, ToolMaterial material, int toolColour, Object dependantItem)
//     {
//         this(name, material, toolColour);
//         if(dependantItem == null)
//             return;
//         if(dependantItem instanceof String)
//             dependantOreDic = (String) dependantItem;
//         else if(dependantItem instanceof ItemStack)
//             dependantStack = (ItemStack) dependantItem;
//         else
//             throw new IllegalArgumentException("Dependant Item must be a String (ore dictionary) or an ItemStack!");
//     }
// 
//     public Tool(EnumMaterials enumMaterial)
//     {
//         this(enumMaterial.getMaterialName(), enumMaterial.material, enumMaterial.colour);
//         if(enumMaterial.dependantOreDic != null)
//             dependantOreDic = enumMaterial.dependantOreDic;
//     }
// 
//     public String getToolName(boolean isExcavator)
//     {
//         return (isExcavator ? Reference.Items.EXCAVATOR : Reference.Items.HAMMER) + "_" + name;
//     }
// }


import brightspark.sparkshammers.customTools.Tool;
import net.minecraftforge.fml.common.eventhandler.Event;
import java.util.Arrays;
import java.util.List;
package brightspark.sparkshammers.api;



/**
 * Fired right before items are registered for Sparks Hammers so that other mods can add their own tools to be
 * registered.
 */
public class RegisterToolEvent extends Event
{
// Path: src/main/java/brightspark/sparkshammers/customTools/Tool.java
// public class Tool
// {
//     public String name, localName;
//     public ToolMaterial material;
//     public int toolColour;
//     public String dependantOreDic;
//     public ItemStack dependantStack;
// 
//     protected Tool(String name, ToolMaterial material, int toolColour)
//     {
//         localName = name;
//         this.name = name.toLowerCase().replaceAll("\\s", "");
//         this.material = material;
//         this.toolColour = toolColour;
//     }
// 
//     public Tool(String name, ToolMaterial material, int toolColour, Object dependantItem)
//     {
//         this(name, material, toolColour);
//         if(dependantItem == null)
//             return;
//         if(dependantItem instanceof String)
//             dependantOreDic = (String) dependantItem;
//         else if(dependantItem instanceof ItemStack)
//             dependantStack = (ItemStack) dependantItem;
//         else
//             throw new IllegalArgumentException("Dependant Item must be a String (ore dictionary) or an ItemStack!");
//     }
// 
//     public Tool(EnumMaterials enumMaterial)
//     {
//         this(enumMaterial.getMaterialName(), enumMaterial.material, enumMaterial.colour);
//         if(enumMaterial.dependantOreDic != null)
//             dependantOreDic = enumMaterial.dependantOreDic;
//     }
// 
//     public String getToolName(boolean isExcavator)
//     {
//         return (isExcavator ? Reference.Items.EXCAVATOR : Reference.Items.HAMMER) + "_" + name;
//     }
// }


// Path: src/main/java/brightspark/sparkshammers/api/RegisterToolEvent.java
import brightspark.sparkshammers.customTools.Tool;
import net.minecraftforge.fml.common.eventhandler.Event;
import java.util.Arrays;
import java.util.List;

package brightspark.sparkshammers.api;



/**
 * Fired right before items are registered for Sparks Hammers so that other mods can add their own tools to be
 * registered.
 */
public class RegisterToolEvent extends Event
{
    private final List<Tool> toolsList;