<commit_before>package k2b6s9j.BoatCraft.registry;

import k2b6s9j.BoatCraft.item.boat.wood.birch.*;
import k2b6s9j.BoatCraft.item.boat.wood.jungle.*;
import k2b6s9j.BoatCraft.item.boat.wood.oak.*;
import k2b6s9j.BoatCraft.item.boat.wood.spruce.*;
import net.minecraft.item.Item;

public class LanguageRegistry {

    public static void RegisterName() {

        cpw.mods.fml.common.registry.LanguageRegistry.addName(Item.boat, "Vanilla Boat");

        //Boats
        if (!ConfigRegistry.OreDictWoodBoat) {
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatOak.class, "Oak Wood Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatOakChest.class, "Oak Wood Chest Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatOakFurnace.class, "Oak Wood Furnace Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatOakHopper.class, "Oak Wood Hopper Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatOakTNT.class, "Oak Wood TNT Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatSpruce.class, "Spruce Wood Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatSpruceChest.class, "Spruce Wood Chest Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatSpruceFurnace.class, "Spruce Wood Furnace Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatSpruceHopper.class, "Spruce Wood Hopper Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatSpruceTNT.class, "Spruce Wood TNT Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatBirch.class, "Birch Wood Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatBirchChest.class, "Birch Wood Chest Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatBirchFurnace.class, "Birch Wood Furnace Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatBirchHopper.class, "Birch Wood Hopper Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatBirchTNT.class, "Birch Wood TNT Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatJungle.class, "Jungle Wood Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatJungleChest.class, "Jungle Wood Chest Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatJungleFurnace.class, "Jungle Wood Furnace Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatJungleHopper.class, "Jungle Wood Hopper Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatJungleTNT.class, "Jungle Wood TNT Boat");
        }
        if (ConfigRegistry.OreDictWoodBoat) {
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatOak.class, "Wooden Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatOakChest.class, "Chest Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatOakFurnace.class, "Furnace Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatOakHopper.class, "Hopper Boat");
            cpw.mods.fml.common.registry.LanguageRegistry.addName(BoatOakTNT.class, "TNT Boat");
        }
    }
}<commit_msg>Ported to Scala<commit_after>package k2b6s9j.BoatCraft.registry

import k2b6s9j.BoatCraft.item.boat.wood.birch._
import k2b6s9j.BoatCraft.item.boat.wood.jungle._
import k2b6s9j.BoatCraft.item.boat.wood.oak._
import k2b6s9j.BoatCraft.item.boat.wood.spruce._
import net.minecraft.item.Item

class LanguageRegistry {

  def FMLLanguageRegistry:cpw.mods.fml.common.registry.LanguageRegistry

    def RegisterName() {

        FMLLanguageRegistry.addName(Item.boat, "Vanilla Boat")

        //Boats
        if (!ConfigRegistry.OreDictWoodBoat) {
          FMLLanguageRegistry.addName(BoatOak, "Oak Wood Boat")
          FMLLanguageRegistry.addName(BoatOakChest, "Oak Wood Chest Boat")
          FMLLanguageRegistry.addName(BoatOakFurnace, "Oak Wood Furnace Boat")
          FMLLanguageRegistry.addName(BoatOakHopper, "Oak Wood Hopper Boat")
          FMLLanguageRegistry.addName(BoatOakTNT, "Oak Wood TNT Boat")
          FMLLanguageRegistry.addName(BoatSpruce, "Spruce Wood Boat")
          FMLLanguageRegistry.addName(BoatSpruceChest, "Spruce Wood Chest Boat")
          FMLLanguageRegistry.addName(BoatSpruceFurnace, "Spruce Wood Furnace Boat")
          FMLLanguageRegistry.addName(BoatSpruceHopper, "Spruce Wood Hopper Boat")
          FMLLanguageRegistry.addName(BoatSpruceTNT, "Spruce Wood TNT Boat")
          FMLLanguageRegistry.addName(BoatBirch, "Birch Wood Boat")
          FMLLanguageRegistry.addName(BoatBirchChest, "Birch Wood Chest Boat")
          FMLLanguageRegistry.addName(BoatBirchFurnace, "Birch Wood Furnace Boat")
          FMLLanguageRegistry.addName(BoatBirchHopper, "Birch Wood Hopper Boat")
          FMLLanguageRegistry.addName(BoatBirchTNT, "Birch Wood TNT Boat")
          FMLLanguageRegistry.addName(BoatJungle, "Jungle Wood Boat")
          FMLLanguageRegistry.addName(BoatJungleChest, "Jungle Wood Chest Boat")
          FMLLanguageRegistry.addName(BoatJungleFurnace, "Jungle Wood Furnace Boat")
          FMLLanguageRegistry.addName(BoatJungleHopper, "Jungle Wood Hopper Boat")
          FMLLanguageRegistry.addName(BoatJungleTNT, "Jungle Wood TNT Boat")
        }
        if (ConfigRegistry.OreDictWoodBoat) {
          FMLLanguageRegistry.addName(BoatOak, "Wooden Boat")
          FMLLanguageRegistry.addName(BoatOakChest, "Chest Boat")
          FMLLanguageRegistry.addName(BoatOakFurnace, "Furnace Boat")
          FMLLanguageRegistry.addName(BoatOakHopper, "Hopper Boat")
          FMLLanguageRegistry.addName(BoatOakTNT, "TNT Boat")
        }
    }
}
{'fraction_non_alphanumeric': 0.10519993135404153, 'fraction_numerical': 0.005148446885189634, 'mean_word_length': 3.673616680032077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5628188', 'n_tokens_mistral': 2110, 'n_tokens_neox': 1973, 'n_words': 277}