<commit_before>package exnihilocreatio.modules;

import exnihilocreatio.ModBlocks;
import exnihilocreatio.blocks.BlockBaseFalling;
import exnihilocreatio.blocks.BlockSieve;
import exnihilocreatio.recipes.defaults.IRecipeDefaults;
import exnihilocreatio.registries.registries.FluidBlockTransformerRegistry;
import exnihilocreatio.registries.registries.HammerRegistry;
import exnihilocreatio.registries.registries.SieveRegistry;
import exnihilocreatio.util.BlockInfo;
import exnihilocreatio.util.ItemInfo;
import lombok.Getter;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class AppliedEnergistics2 implements IExNihiloCreatioModule, IRecipeDefaults {
    @Getter
    public final String MODID = "appliedenergistics2";
    // BlockBaseFalling adds the block to Data.Blocks
    public static final BlockBaseFalling skystoneCrushed = (BlockBaseFalling) new BlockBaseFalling(SoundType.GROUND, "block_skystone_crushed").setHardness(0.7F);


    @GameRegistry.ObjectHolder("appliedenergistics2:material")
    // Certus = 0, Charged Certus = 1, Sky stone dust = 45
    private static final Item AE_MATERIAL = null;
    @GameRegistry.ObjectHolder("appliedenergistics2:crystal_seed")
    // Pure Certus = 0
    private static final Item AE_SEEDS = null;
    @GameRegistry.ObjectHolder("appliedenergistics2:sky_stone_block")
    private static final Block SKY_STONE = null;

    public void registerSieve(SieveRegistry registry) {
        // Sky Stone Dust
        registry.register(new BlockInfo(ModBlocks.dust), new ItemInfo(AE_MATERIAL, 45), 0.1f, BlockSieve.MeshType.FLINT.getID());
        registry.register(new BlockInfo(ModBlocks.dust), new ItemInfo(AE_MATERIAL, 45), 0.2f, BlockSieve.MeshType.IRON.getID());
        registry.register(new BlockInfo(ModBlocks.dust), new ItemInfo(AE_MATERIAL, 45), 0.3f, BlockSieve.MeshType.DIAMOND.getID());

        // Certus Quartz
        ItemInfo stack = new ItemInfo(AE_MATERIAL);
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.01f, BlockSieve.MeshType.IRON.getID());
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.02f, BlockSieve.MeshType.DIAMOND.getID());

        // Pure Certus Quartz Seed
        stack = new ItemInfo(AE_SEEDS);
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.01f, BlockSieve.MeshType.STRING.getID());
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.01f, BlockSieve.MeshType.FLINT.getID());
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.02f, BlockSieve.MeshType.IRON.getID());
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.02f, BlockSieve.MeshType.DIAMOND.getID());

        // Charged Certus Quartz
        stack = new ItemInfo(AE_MATERIAL, 1);
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.001f, BlockSieve.MeshType.DIAMOND.getID());
    }
<commit_msg>AE2 and NBT fix (Issue #184)<commit_after>package exnihilocreatio.modules;

import exnihilocreatio.ModBlocks;
import exnihilocreatio.blocks.BlockBaseFalling;
import exnihilocreatio.blocks.BlockSieve;
import exnihilocreatio.recipes.defaults.IRecipeDefaults;
import exnihilocreatio.registries.registries.FluidBlockTransformerRegistry;
import exnihilocreatio.registries.registries.HammerRegistry;
import exnihilocreatio.registries.registries.SieveRegistry;
import exnihilocreatio.util.BlockInfo;
import exnihilocreatio.util.ItemInfo;
import lombok.Getter;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class AppliedEnergistics2 implements IExNihiloCreatioModule, IRecipeDefaults {
    @Getter
    public final String MODID = "appliedenergistics2";
    // BlockBaseFalling adds the block to Data.Blocks
    public static final BlockBaseFalling skystoneCrushed = (BlockBaseFalling) new BlockBaseFalling(SoundType.GROUND, "block_skystone_crushed").setHardness(0.7F);


    @GameRegistry.ObjectHolder("appliedenergistics2:material")
    // Certus = 0, Charged Certus = 1, Sky stone dust = 45
    private static final Item AE_MATERIAL = null;
    @GameRegistry.ObjectHolder("appliedenergistics2:crystal_seed")
    // Pure Certus = 0
    private static final Item AE_SEEDS = null;
    @GameRegistry.ObjectHolder("appliedenergistics2:sky_stone_block")
    private static final Block SKY_STONE = null;

    public void registerSieve(SieveRegistry registry) {
        // Sky Stone Dust
        registry.register(new BlockInfo(ModBlocks.dust), new ItemInfo(AE_MATERIAL, 45), 0.1f, BlockSieve.MeshType.FLINT.getID());
        registry.register(new BlockInfo(ModBlocks.dust), new ItemInfo(AE_MATERIAL, 45), 0.2f, BlockSieve.MeshType.IRON.getID());
        registry.register(new BlockInfo(ModBlocks.dust), new ItemInfo(AE_MATERIAL, 45), 0.3f, BlockSieve.MeshType.DIAMOND.getID());

        // Certus Quartz
        ItemInfo stack = new ItemInfo(AE_MATERIAL);
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.01f, BlockSieve.MeshType.IRON.getID());
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.02f, BlockSieve.MeshType.DIAMOND.getID());

        // Pure Certus Quartz Seed
        NBTTagCompound tag = new NBTTagCompound();
        tag.setFloat("progress", 0.0f);
        stack = new ItemInfo(AE_SEEDS, 0, tag);
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.01f, BlockSieve.MeshType.STRING.getID());
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.01f, BlockSieve.MeshType.FLINT.getID());
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.02f, BlockSieve.MeshType.IRON.getID());
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.02f, BlockSieve.MeshType.DIAMOND.getID());

        // Charged Certus Quartz
        stack = new ItemInfo(AE_MATERIAL, 1);
        registry.register(new BlockInfo(skystoneCrushed), stack, 0.001f, BlockSieve.MeshType.DIAMOND.getID());
    }

{'fraction_non_alphanumeric': 0.10237223372074511, 'fraction_numerical': 0.01608024199968158, 'mean_word_length': 4.871028037383177, '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': '6015868', 'n_tokens_mistral': 2153, 'n_tokens_neox': 2015, 'n_words': 369}