package mrtjp.projectred.core.data;

import net.minecraft.data.DataGenerator;
import net.minecraft.data.tags.BlockTagsProvider;
import net.minecraft.tags.BlockTags;
import net.minecraftforge.common.data.ExistingFileHelper;
import org.jetbrains.annotations.Nullable;

import static mrtjp.projectred.core.ProjectRedCore.MOD_ID;

import static mrtjp.projectred.core.init.CoreReferences.*;

public class CoreBlockTagsProvider extends BlockTagsProvider {

    public CoreBlockTagsProvider(DataGenerator gen, @Nullable ExistingFileHelper existingFileHelper) {
        super(gen, MOD_ID, existingFileHelper);
    }

    @Override
    public String getName() {
        return "ProjectRed-Core Block Tags";
    }

    @Override
    protected void addTags() {

        tag(BlockTags.MINEABLE_WITH_PICKAXE)
                .add(ELECTROTINE_GENERATOR_BLOCK);

    }
}
