/*
 * Copyright  2014 - 2017 | Wurst-Imperium | All rights reserved.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package tk.wurst_client.features.mods;

import tk.wurst_client.features.Feature;
import tk.wurst_client.settings.ModeSetting;
import tk.wurst_client.settings.SliderSetting;
import tk.wurst_client.settings.SliderSetting.ValueDisplay;

@Mod.Info(
	description = "Allows you to break blocks faster.\n"
		+ "Tip: This works with Nuker.",
	name = "FastBreak",
	tags = "SpeedyGonzales, fast break, speedy gonzales",
	help = "Mods/FastBreak")
@Mod.Bypasses
public class FastBreakMod extends Mod
{
	public final ModeSetting mode =
		new ModeSetting("Mode", new String[]{"Normal", "Instant"}, 1)
		{
			@Override
			public void update()
			{
				speed.setDisabled(getSelected() == 1);
			}
		};
	public final SliderSetting speed =
		new SliderSetting("Speed", 2, 1, 5, 0.05, ValueDisplay.DECIMAL);
	
	@Override
	public void initSettings()
	{
		settings.add(mode);
		settings.add(speed);
	}
	
	@Override
	public Feature[] getSeeAlso()
	{
		return new Feature[]{wurst.mods.fastPlaceMod, wurst.mods.autoMineMod,
			wurst.mods.nukerMod};
	}
	
	public float getHardnessModifier()
	{
		if(!isActive())
			return 1;
		
		if(mode.getSelected() != 0)
			return 1;
		
		return speed.getValueF();
	}
	
	public boolean shouldSpamPackets()
	{
		return isActive() && mode.getSelected() == 1;
	}
}

@@ -635,16 +635,27 @@
 tags = %22
+SpeedMine, 
 SpeedyGo
@@ -673,16 +673,28 @@
 t break,
+ speed mine,
  speedy 

Add SpeedMine tags to FastBreak