public static bool IsAxe(this ItemState item) { return(item == ItemStates.DiamondAxe() || item == ItemStates.GoldenAxe() || item == ItemStates.IronAxe() || item == ItemStates.StoneAxe() || item == ItemStates.WoodenAxe()); }
public static bool IsPickaxe(this ItemState item) { return(item == ItemStates.DiamondPickaxe() || item == ItemStates.GoldenPickaxe() || item == ItemStates.IronPickaxe() || item == ItemStates.StonePickaxe() || item == ItemStates.WoodenPickaxe()); }