@Test
public void testFromMinecraft1_12_2() {

    // TODO grass should actually map to grass_block, which is part of the larger problem of Minecraft 1.12 using different block names, which we should address somehow, someday
    SuperflatPreset superflatPreset = SuperflatPreset.fromMinecraft1_12_2("3;minecraft:bedrock,59*minecraft:stone,3*minecraft:dirt,minecraft:grass;1;village,biome_1,decoration,stronghold,mineshaft,lake,lava_lake,dungeon");
    SuperflatPreset expected = new SuperflatPreset(BIOME_PLAINS,
            ImmutableList.of(new Layer(MC_BEDROCK, 1), new Layer(MC_STONE, 59), new Layer(MC_DIRT, 3), new Layer(MC_GRASS, 1)),
            ImmutableMap.<Structure, Map<String, String>>builder()
                    .put(VILLAGE, emptyMap())
                    .put(BIOME_1, emptyMap())
                    .put(DECORATION, emptyMap())
                    .put(STRONGHOLD, emptyMap())
                    .put(MINESHAFT, emptyMap())
                    .put(LAKE, emptyMap())
                    .put(LAVA_LAKE, emptyMap())
                    .put(DUNGEON, emptyMap())
                    .build());
    Assert.assertEquals(expected, superflatPreset);
}