package refinedstorage.block;

import net.minecraft.util.IStringSerializable;

public enum EnumGridType implements IStringSerializable {
    NORMAL(0, "normal"),
    CRAFTING(1, "crafting"),
    PATTERN(2, "pattern");

    private int id;
    private String name;

    EnumGridType(int id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }

    public int getId() {
        return id;
    }

    @Override
    public String toString() {
        return name;
    }
}
