package dimensions.solar.material;

public enum Material{
    
    //Names according to the Minecraft wiki: https://minecraft.gamepedia.com/Data_values/Block_IDs
    AIR("Air", "air", true, false),
    STONE("Stone", "stone", true, true),
    GRASS("Grass Block", "grass", true, true),
    DIRT("Dirt", "dirt", true, true),
    COBBLESTONE("Cobblestone", "cobblestone", true, true),
    WOOD_PLANKS("Wood Planks", "planks", true, true),
    ;

    private String name;
    private boolean isBlock, isSolid;
    private String minecraft_id;
    
    Material(String name, String minecraft_id, boolean isBlock, boolean isSolid){
        this.name = name;
        this.minecraft_id = minecraft_id;
        this.isBlock = isBlock;
        this.isSolid = isSolid;
    }
    
    public String toString(){
        return name;
    }
    
    public String getId(){
        return "minecraft:" + minecraft_id;
    }
    
    public boolean isBlock(){
        return isBlock;
    }

    public boolean isSolid(){
        return isSolid;
    }

}

@@ -155,16 +155,34 @@
 ock_IDs%0A
+    %0A    //Blocks%0A
     AIR(
@@ -444,24 +444,539 @@
 rue, true),%0A
+    SAPLING(%22Sapling%22, %22sapling%22, true, false),%0A    BEDROCK(%22Bedrock%22, %22bedrock%22, true, true),%0A    WATER(%22Flowing Water%22, %22flowing_water%22, true, false),%0A    STATIONARY_WATER(%22Stationary Water%22, %22water%22, true, false),%0A    LAVA(%22Flowing Lava%22, %22flowing_lava%22, true, false),%0A    STATIONARY_LAVA(%22Stationary Lava%22, %22lava%22, true, false),%0A    SAND(%22Sand%22, %22sand%22, true, true),%0A    GRAVEL(%22Gravel%22, %22gravel%22, true, true),%0A    GOLD_ORE(%22Gold Ore%22, %22gold_ore%22, true, true),%0A    IRON_ORE(%22Iron Ore%22, %22iron_ore%22, true, true),%0A
     ;%0A%0A    p

Add more materials