package dimensions.solar.material;

public enum Material{
    
    //Names according to the Minecraft wiki: https://minecraft.gamepedia.com/Data_values/Block_IDs
    
    //Blocks
    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),
    SAPLING("Sapling", "sapling", true, false),
    BEDROCK("Bedrock", "bedrock", true, true),
    WATER("Flowing Water", "flowing_water", true, false),
    STATIONARY_WATER("Stationary Water", "water", true, false),
    LAVA("Flowing Lava", "flowing_lava", true, false),
    STATIONARY_LAVA("Stationary Lava", "lava", true, false),
    SAND("Sand", "sand", true, true),
    GRAVEL("Gravel", "gravel", true, true),
    GOLD_ORE("Gold Ore", "gold_ore", true, true),
    IRON_ORE("Iron Ore", "iron_ore", 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;
    }

}

@@ -52,24 +52,37 @@
 erial%7B%0A    %0A
+    //Blocks%0A
     //Names 
@@ -168,34 +168,16 @@
 ock_IDs%0A
-    %0A    //Blocks%0A
     AIR(
@@ -954,24 +954,612 @@
 rue, true),%0A
+    COAL_ORE(%22Coal Ore%22, %22coal_ore%22, true, true),%0A    WOOD(%22Wood%22, %22log%22, true, true),%0A    LEAVES(%22Leaves%22, %22leaves%22, true, true),%0A    SPONGE(%22Sponge%22, %22sponge%22, true, true),%0A    GLASS(%22Glass%22, %22glass%22, true, true),%0A    LAPIS_ORE(%22Lapis Ore%22, %22lapis_ore%22, true, true),%0A    LAPIS_BLOCK(%22Lapis Block%22, %22lapis_block%22, true, true),%0A    DISPENSER(%22Dispenser%22, %22dispenser%22, true, true),%0A    SANDSTONE(%22Sandstone%22, %22sandstone%22, true, true),%0A    NOTEBLOCK(%22Noteblock%22, %22noteblock%22, true, true),%0A    BED(%22Bed%22, %22bed%22, true, true),%0A    POWERED_RAILS(%22Powered Rails%22, %22golden_rails%22, true, false),%0A%0A
     ;%0A%0A    p

Add more materials