From 4e1293707272b15efbe8a387e8a60d1a92d85788 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Mon, 16 Sep 2013 23:39:36 +0200 Subject: Added new Blocks/Biomes from recent snapshots --- biome_infos.go | 126 ++++++++++++++++++++++++++++++++++++++++++++++----------- block_infos.go | 5 ++- 2 files changed, 106 insertions(+), 25 deletions(-) diff --git a/biome_infos.go b/biome_infos.go index e9daabb..f0c4714 100644 --- a/biome_infos.go +++ b/biome_infos.go @@ -29,34 +29,112 @@ var bioList = []mcmap.Biome{ mcmap.BioExtremeHillsEdge, mcmap.BioJungle, mcmap.BioJungleHills, + mcmap.BioJungleEdge, + mcmap.BioDeepOcean, + mcmap.BioStoneBeach, + mcmap.BioColdBeach, + mcmap.BioBirchForest, + mcmap.BioBirchForestHills, + mcmap.BioRoofedForest, + mcmap.BioColdTaiga, + mcmap.BioColdTaigaHills, + mcmap.BioMegaTaiga, + mcmap.BioMegaTaigaHills, + mcmap.BioExtremeHillsPlus, + mcmap.BioSavanna, + mcmap.BioSavannaPlateau, + mcmap.BioMesa, + mcmap.BioMesaPlateauF, + mcmap.BioMesaPlateau, + mcmap.BioSunflowerPlains, + mcmap.BioDesertM, + mcmap.BioExtremeHillsM, + mcmap.BioFlowerForest, + mcmap.BioTaigaM, + mcmap.BioSwamplandM, + mcmap.BioIcePlainsSpikes, + mcmap.BioIceMountainsSpikes, + mcmap.BioJungleM, + mcmap.BioJungleEdgeM, + mcmap.BioBirchForestM, + mcmap.BioBirchForestHillsM, + mcmap.BioRoofedForestM, + mcmap.BioColdTaigaM, + mcmap.BioMegaSpruceTaiga, + mcmap.BioMegaSpruceTaigaHills, + mcmap.BioExtremeHillsPlusM, + mcmap.BioSavannaM, + mcmap.BioSavannaPlateauM, + mcmap.BioMesaBryce, + mcmap.BioMesaPlateauFM, + mcmap.BioMesaPlateauM, mcmap.BioUncalculated, } var bioColors = map[mcmap.Biome]*gdk.Color{ - mcmap.BioOcean: gdk.NewColor("#0000ff"), - mcmap.BioPlains: gdk.NewColor("#9fe804"), - mcmap.BioDesert: gdk.NewColor("#f5ff58"), - mcmap.BioExtremeHills: gdk.NewColor("#a75300"), - mcmap.BioForest: gdk.NewColor("#006f2a"), - mcmap.BioTaiga: gdk.NewColor("#05795a"), - mcmap.BioSwampland: gdk.NewColor("#6a7905"), - mcmap.BioRiver: gdk.NewColor("#196eff"), - mcmap.BioHell: gdk.NewColor("#d71900"), - mcmap.BioSky: gdk.NewColor("#871eb3"), - mcmap.BioFrozenOcean: gdk.NewColor("#d6f0ff"), - mcmap.BioFrozenRiver: gdk.NewColor("#8fb6cd"), - mcmap.BioIcePlains: gdk.NewColor("#fbfbfb"), - mcmap.BioIceMountains: gdk.NewColor("#c6bfb1"), - mcmap.BioMushroomIsland: gdk.NewColor("#9776a4"), - mcmap.BioMushroomIslandShore: gdk.NewColor("#9e8ebc"), - mcmap.BioBeach: gdk.NewColor("#fffdc9"), - mcmap.BioDesertHills: gdk.NewColor("#adb354"), - mcmap.BioForestHills: gdk.NewColor("#40694f"), - mcmap.BioTaigaHills: gdk.NewColor("#5b8578"), - mcmap.BioExtremeHillsEdge: gdk.NewColor("#a77748"), - mcmap.BioJungle: gdk.NewColor("#22db04"), - mcmap.BioJungleHills: gdk.NewColor("#63bf54"), - mcmap.BioUncalculated: gdk.NewColor("#333333"), + mcmap.BioOcean: gdk.NewColor("#0000ff"), + mcmap.BioPlains: gdk.NewColor("#9fe804"), + mcmap.BioDesert: gdk.NewColor("#f5ff58"), + mcmap.BioExtremeHills: gdk.NewColor("#a75300"), + mcmap.BioForest: gdk.NewColor("#006f2a"), + mcmap.BioTaiga: gdk.NewColor("#05795a"), + mcmap.BioSwampland: gdk.NewColor("#6a7905"), + mcmap.BioRiver: gdk.NewColor("#196eff"), + mcmap.BioHell: gdk.NewColor("#d71900"), + mcmap.BioSky: gdk.NewColor("#871eb3"), + mcmap.BioFrozenOcean: gdk.NewColor("#d6f0ff"), + mcmap.BioFrozenRiver: gdk.NewColor("#8fb6cd"), + mcmap.BioIcePlains: gdk.NewColor("#fbfbfb"), + mcmap.BioIceMountains: gdk.NewColor("#c6bfb1"), + mcmap.BioMushroomIsland: gdk.NewColor("#9776a4"), + mcmap.BioMushroomIslandShore: gdk.NewColor("#9e8ebc"), + mcmap.BioBeach: gdk.NewColor("#fffdc9"), + mcmap.BioDesertHills: gdk.NewColor("#adb354"), + mcmap.BioForestHills: gdk.NewColor("#40694f"), + mcmap.BioTaigaHills: gdk.NewColor("#5b8578"), + mcmap.BioExtremeHillsEdge: gdk.NewColor("#a77748"), + mcmap.BioJungle: gdk.NewColor("#22db04"), + mcmap.BioJungleHills: gdk.NewColor("#63bf54"), + mcmap.BioJungleEdge: gdk.NewColor("#40ba2c"), + mcmap.BioDeepOcean: gdk.NewColor("#0000b3"), + mcmap.BioStoneBeach: gdk.NewColor("#9292a6"), + mcmap.BioColdBeach: gdk.NewColor("#c7c7e8"), + mcmap.BioBirchForest: gdk.NewColor("#1d964b"), + mcmap.BioBirchForestHills: gdk.NewColor("#498045"), + mcmap.BioRoofedForest: gdk.NewColor("#075a26"), + mcmap.BioColdTaiga: gdk.NewColor("#1b948e"), + mcmap.BioColdTaigaHills: gdk.NewColor("#1d7a76"), + mcmap.BioMegaTaiga: gdk.NewColor("#1f8f68"), + mcmap.BioMegaTaigaHills: gdk.NewColor("#217a5c"), + mcmap.BioExtremeHillsPlus: gdk.NewColor("#d76a00"), + mcmap.BioSavanna: gdk.NewColor("#b2bc0f"), + mcmap.BioSavannaPlateau: gdk.NewColor("#aba60e"), + mcmap.BioMesa: gdk.NewColor("#ff6c00"), + mcmap.BioMesaPlateauF: gdk.NewColor("#d9691e"), + mcmap.BioMesaPlateau: gdk.NewColor("#d95b07"), + mcmap.BioSunflowerPlains: gdk.NewColor("#ffd504"), + mcmap.BioDesertM: gdk.NewColor("#f4ff3f"), + mcmap.BioExtremeHillsM: gdk.NewColor("#8c4500"), + mcmap.BioFlowerForest: gdk.NewColor("#e02f4a"), + mcmap.BioTaigaM: gdk.NewColor("#0a6148"), + mcmap.BioSwamplandM: gdk.NewColor("#58630e"), + mcmap.BioIcePlainsSpikes: gdk.NewColor("#ace8e8"), + mcmap.BioIceMountainsSpikes: gdk.NewColor("#91cccc"), + mcmap.BioJungleM: gdk.NewColor("#30ba07"), + mcmap.BioJungleEdgeM: gdk.NewColor("#3e9130"), + mcmap.BioBirchForestM: gdk.NewColor("#228548"), + mcmap.BioBirchForestHillsM: gdk.NewColor("#2b7547"), + mcmap.BioRoofedForestM: gdk.NewColor("#1a5428"), + mcmap.BioColdTaigaM: gdk.NewColor("#0f706b"), + mcmap.BioMegaSpruceTaiga: gdk.NewColor("#198058"), + mcmap.BioMegaSpruceTaigaHills: gdk.NewColor("#156e4c"), + mcmap.BioExtremeHillsPlusM: gdk.NewColor("#ba5c00"), + mcmap.BioSavannaM: gdk.NewColor("#858111"), + mcmap.BioSavannaPlateauM: gdk.NewColor("#87830b"), + mcmap.BioMesaBryce: gdk.NewColor("#ff5100"), + mcmap.BioMesaPlateauFM: gdk.NewColor("#ba5a1a"), + mcmap.BioMesaPlateauM: gdk.NewColor("#ba4e06"), + mcmap.BioUncalculated: gdk.NewColor("#333333"), } var coldBiome = map[mcmap.Biome]bool{ diff --git a/block_infos.go b/block_infos.go index f06c308..0c1c34b 100644 --- a/block_infos.go +++ b/block_infos.go @@ -141,6 +141,7 @@ var blockColors = map[mcmap.BlockID]*gdk.Color{ mcmap.BlkCarpet: gdk.NewColor("#ffffff"), mcmap.BlkHardenedClay: gdk.NewColor("#767a82"), mcmap.BlkBlockOfCoal: gdk.NewColor("#333333"), + mcmap.BlkPackedIce: gdk.NewColor("#63bff4"), } var blockCanSnowIn = map[mcmap.BlockID]bool{ @@ -182,7 +183,7 @@ var blockCanSnowIn = map[mcmap.BlockID]bool{ mcmap.BlkWool: true, mcmap.BlkBlockMovedByPiston: false, mcmap.BlkDandelion: false, - mcmap.BlkRose: false, + mcmap.BlkFlower: false, mcmap.BlkBrownMushroom: false, mcmap.BlkRedMushroom: false, mcmap.BlkBlockOfGold: true, @@ -308,4 +309,6 @@ var blockCanSnowIn = map[mcmap.BlockID]bool{ mcmap.BlkCarpet: false, mcmap.BlkHardenedClay: true, mcmap.BlkBlockOfCoal: true, + mcmap.BlkPackedIce: false, + mcmap.BlkLargeFlower: false, } -- cgit v1.2.3-70-g09d2