<commit_before>package com.gmail.nossr50.datatypes.skills;

import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.config.Config;
import com.gmail.nossr50.locale.LocaleLoader;
import com.gmail.nossr50.skills.SkillManager;
import com.gmail.nossr50.skills.acrobatics.AcrobaticsManager;
import com.gmail.nossr50.skills.archery.ArcheryManager;
import com.gmail.nossr50.skills.axes.AxesManager;
import com.gmail.nossr50.skills.excavation.ExcavationManager;
import com.gmail.nossr50.skills.fishing.FishingManager;
import com.gmail.nossr50.skills.herbalism.HerbalismManager;
import com.gmail.nossr50.skills.mining.MiningManager;
import com.gmail.nossr50.skills.smelting.SmeltingManager;
import com.gmail.nossr50.skills.swords.SwordsManager;
import com.gmail.nossr50.skills.taming.TamingManager;
import com.gmail.nossr50.skills.unarmed.UnarmedManager;
import com.gmail.nossr50.util.StringUtils;

public enum SkillType {
    ACROBATICS(AcrobaticsManager.class),
    ARCHERY(ArcheryManager.class),
    AXES(AxesManager.class, AbilityType.SKULL_SPLITTER, ToolType.AXE),
    EXCAVATION(ExcavationManager.class, AbilityType.GIGA_DRILL_BREAKER, ToolType.SHOVEL),
    FISHING(FishingManager.class),
    HERBALISM(HerbalismManager.class, AbilityType.GREEN_TERRA, ToolType.HOE),
    MINING(MiningManager.class, AbilityType.SUPER_BREAKER, ToolType.PICKAXE),
    REPAIR(null), // TODO: Create a proper RepairManager class
    SMELTING(SmeltingManager.class),
    SWORDS(SwordsManager.class, AbilityType.SERRATED_STRIKES, ToolType.SWORD),
    TAMING(TamingManager.class),
    UNARMED(UnarmedManager.class, AbilityType.BERSERK, ToolType.FISTS),
    WOODCUTTING(null, AbilityType.TREE_FELLER, ToolType.AXE); // TODO: Create a proper WoodcuttingManager class

    private Class<? extends SkillManager> managerClass;
    private AbilityType ability;
    private ToolType tool;

    private SkillType(Class<? extends SkillManager> managerClass) {
        this.managerClass = managerClass;
        ability = null;
        tool = null;
    }

    private SkillType(Class<? extends SkillManager> managerClass, AbilityType ability, ToolType tool) {<commit_msg>We now have a RepairManager.<commit_after>package com.gmail.nossr50.datatypes.skills;

import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.config.Config;
import com.gmail.nossr50.locale.LocaleLoader;
import com.gmail.nossr50.skills.SkillManager;
import com.gmail.nossr50.skills.acrobatics.AcrobaticsManager;
import com.gmail.nossr50.skills.archery.ArcheryManager;
import com.gmail.nossr50.skills.axes.AxesManager;
import com.gmail.nossr50.skills.excavation.ExcavationManager;
import com.gmail.nossr50.skills.fishing.FishingManager;
import com.gmail.nossr50.skills.herbalism.HerbalismManager;
import com.gmail.nossr50.skills.mining.MiningManager;
import com.gmail.nossr50.skills.repair.RepairManager;
import com.gmail.nossr50.skills.smelting.SmeltingManager;
import com.gmail.nossr50.skills.swords.SwordsManager;
import com.gmail.nossr50.skills.taming.TamingManager;
import com.gmail.nossr50.skills.unarmed.UnarmedManager;
import com.gmail.nossr50.util.StringUtils;

public enum SkillType {
    ACROBATICS(AcrobaticsManager.class),
    ARCHERY(ArcheryManager.class),
    AXES(AxesManager.class, AbilityType.SKULL_SPLITTER, ToolType.AXE),
    EXCAVATION(ExcavationManager.class, AbilityType.GIGA_DRILL_BREAKER, ToolType.SHOVEL),
    FISHING(FishingManager.class),
    HERBALISM(HerbalismManager.class, AbilityType.GREEN_TERRA, ToolType.HOE),
    MINING(MiningManager.class, AbilityType.SUPER_BREAKER, ToolType.PICKAXE),
    REPAIR(RepairManager.class),
    SMELTING(SmeltingManager.class),
    SWORDS(SwordsManager.class, AbilityType.SERRATED_STRIKES, ToolType.SWORD),
    TAMING(TamingManager.class),
    UNARMED(UnarmedManager.class, AbilityType.BERSERK, ToolType.FISTS),
    WOODCUTTING(null, AbilityType.TREE_FELLER, ToolType.AXE); // TODO: Create a proper WoodcuttingManager class

    private Class<? extends SkillManager> managerClass;
    private AbilityType ability;
    private ToolType tool;

    private SkillType(Class<? extends SkillManager> managerClass) {
        this.managerClass = managerClass;
        ability = null;
        tool = null;
    }

    private SkillType(Class<? extends SkillManager> managerClass, AbilityType ability, ToolType tool) {
{'fraction_non_alphanumeric': 0.0991869918699187, 'fraction_numerical': 0.016260162601626018, 'mean_word_length': 5.5143721633888045, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6201818', 'n_tokens_mistral': 1599, 'n_tokens_neox': 1531, 'n_words': 214}