package com.infinityraider.agricraft.api.v1.soil;

import com.infinityraider.agricraft.api.v1.misc.IAgriRegisterable;

import java.util.Collection;
import javax.annotation.Nonnull;

import net.minecraft.block.Block;
import net.minecraft.block.BlockState;

/**
 * Class for interacting with AgriCraft soil definitions.
 */
public interface IAgriSoil extends IAgriRegisterable<IAgriSoil> {

    @Nonnull
    @Override
    String getId();

    @Nonnull
    String getName();

    @Nonnull
    Collection<BlockState> getVariants();

    default boolean isVariant(@Nonnull BlockState state) {
        return this.getVariants().contains(state);
    }

}

@@ -179,42 +179,8 @@
 l;%0A%0A
-import net.minecraft.block.Block;%0A
 impo

remove unnecessary import