<commit_before>package com.mcmoddev.orespawn;

import com.google.common.base.Function;
import com.mcmoddev.modernmetals.init.Materials;
import mmd.orespawn.api.OreSpawnAPI;
import mmd.orespawn.api.SpawnLogic;

public class ModernMetalsOreSpawn implements Function<OreSpawnAPI, SpawnLogic> {

	@Override
	public SpawnLogic apply(OreSpawnAPI api) {
		SpawnLogic logic = api.createSpawnLogic();

		logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD)
				.addOre(Materials.aluminum.ore.getDefaultState(), 10, 8, 8, 0,  96)
				.addOre(Materials.cadmium.ore.getDefaultState(), 4, 8,  8, 0,  96)
				.addOre(Materials.chromium.ore.getDefaultState(), 2, 4, 3, 0, 32)
				.addOre(Materials.iridium.ore.getDefaultState(), 6, 4, 5, 0, 64)
				.addOre(Materials.magnesium.ore.getDefaultState(), 6, 4, 8, 0, 96)
				.addOre(Materials.manganese.ore.getDefaultState(), 6, 4, 6, 0, 64)
				.addOre(Materials.osmium.ore.getDefaultState(), 10, 4, 8, 0, 96)
				.addOre(Materials.plutonium.ore.getDefaultState(), 2, 4, 4, 0, 32)
				.addOre(Materials.rutile.ore.getDefaultState(), 6, 4, 6, 0, 64)
				.addOre(Materials.tantalum.ore.getDefaultState(), 6, 4, 6, 0, 64)
				.addOre(Materials.tungsten.ore.getDefaultState(), 4, 4, 6, 0, 32)
				.addOre(Materials.uranium.ore.getDefaultState(), 2, 4, 6, 0, 32)
				.addOre(Materials.zirconium.ore.getDefaultState(), 8, 4, 6, 0, 64);

		return logic;
	}
}<commit_msg>fix the same sort of error here that BMe had<commit_after>package com.mcmoddev.orespawn;

import com.google.common.base.Function;
import com.mcmoddev.modernmetals.init.Materials;
import mmd.orespawn.api.OreSpawnAPI;
import mmd.orespawn.api.SpawnLogic;
import com.mcmoddev.modernmetals.util.Config.Options;

public class ModernMetalsOreSpawn implements Function<OreSpawnAPI, SpawnLogic> {

	@Override
	public SpawnLogic apply(OreSpawnAPI api) {
		SpawnLogic logic = api.createSpawnLogic();

		if( Options.enableAluminum ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.aluminum.ore.getDefaultState(), 10, 8, 8, 0,  96);
		}

		if( Options.enableCadmium ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.cadmium.ore.getDefaultState(), 4, 8,  8, 0,  96);
		}

		if( Options.enableChromium ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.chromium.ore.getDefaultState(), 2, 4, 3, 0, 32);
		}

		if( Options.enableIridium ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.iridium.ore.getDefaultState(), 6, 4, 5, 0, 64);
		}

		if( Options.enableMagnesium ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.magnesium.ore.getDefaultState(), 6, 4, 8, 0, 96);
		}

		if( Options.enableManganese ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.manganese.ore.getDefaultState(), 6, 4, 6, 0, 64);
		}

		if( Options.enableOsmium ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.osmium.ore.getDefaultState(), 10, 4, 8, 0, 96);
		}

		if( Options.enablePlutonium ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.plutonium.ore.getDefaultState(), 2, 4, 4, 0, 32);
		}

		if( Options.enableRutile ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.rutile.ore.getDefaultState(), 6, 4, 6, 0, 64);
		}

		if( Options.enableTantalum ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.tantalum.ore.getDefaultState(), 6, 4, 6, 0, 64);
		}

		if( Options.enableTungsten ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.tungsten.ore.getDefaultState(), 4, 4, 6, 0, 32);
		}

		if( Options.enableUranium ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.uranium.ore.getDefaultState(), 2, 4, 6, 0, 32);
		}

		if( Options.enableZirconium ) {
			logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD).addOre(Materials.zirconium.ore.getDefaultState(), 8, 4, 6, 0, 64);
		}

		return logic;
	}
}
{'fraction_non_alphanumeric': 0.14134007585335018, 'fraction_numerical': 0.040455120101137804, 'mean_word_length': 4.9488721804511275, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4668605', 'n_tokens_mistral': 1871, 'n_tokens_neox': 1603, 'n_words': 246}