1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
package main
import (
"github.com/kch42/gomcmap/mcmap"
"github.com/mattn/go-gtk/gdk"
)
var blockColors = map[mcmap.BlockID]*gdk.Color{
mcmap.BlkStone: gdk.NewColor("#666666"),
mcmap.BlkGrassBlock: gdk.NewColor("#00aa00"),
mcmap.BlkDirt: gdk.NewColor("#644804"),
mcmap.BlkCobblestone: gdk.NewColor("#7a7a7a"),
mcmap.BlkWoodPlanks: gdk.NewColor("#a4721c"),
mcmap.BlkBedrock: gdk.NewColor("#111111"),
mcmap.BlkWater: gdk.NewColor("#0000ff"),
mcmap.BlkStationaryWater: gdk.NewColor("#0000ff"),
mcmap.BlkLava: gdk.NewColor("#ff4400"),
mcmap.BlkStationaryLava: gdk.NewColor("#ff4400"),
mcmap.BlkSand: gdk.NewColor("#f1ee85"),
mcmap.BlkGravel: gdk.NewColor("#9ba3a9"),
mcmap.BlkGoldOre: gdk.NewColor("#ffa200"),
mcmap.BlkIronOre: gdk.NewColor("#e1e1e1"),
mcmap.BlkCoalOre: gdk.NewColor("#333333"),
mcmap.BlkWood: gdk.NewColor("#a4721c"),
mcmap.BlkLeaves: gdk.NewColor("#57a100"),
mcmap.BlkGlass: gdk.NewColor("#eeeeff"),
mcmap.BlkLapisLazuliOre: gdk.NewColor("#3114e3"),
mcmap.BlkLapisLazuliBlock: gdk.NewColor("#3114e3"),
mcmap.BlkDispenser: gdk.NewColor("#7a7a7a"),
mcmap.BlkSandstone: gdk.NewColor("#f1ee85"),
mcmap.BlkNoteBlock: gdk.NewColor("#a4721c"),
mcmap.BlkBed: gdk.NewColor("#a00000"),
mcmap.BlkPoweredRail: gdk.NewColor("#ff0000"),
mcmap.BlkDetectorRail: gdk.NewColor("#ff0000"),
mcmap.BlkStickyPiston: gdk.NewColor("#91ba12"),
mcmap.BlkCobweb: gdk.NewColor("#dddddd"),
mcmap.BlkGrass: gdk.NewColor("#a0f618"),
mcmap.BlkPiston: gdk.NewColor("#a4721c"),
mcmap.BlkPistonExtension: gdk.NewColor("#a4721c"),
mcmap.BlkWool: gdk.NewColor("#ffffff"),
mcmap.BlkBlockOfGold: gdk.NewColor("#ffa200"),
mcmap.BlkBlockOfIron: gdk.NewColor("#e1e1e1"),
mcmap.BlkTNT: gdk.NewColor("#a20022"),
mcmap.BlkBookshelf: gdk.NewColor("#a4721c"),
mcmap.BlkMossStone: gdk.NewColor("#589b71"),
mcmap.BlkObsidian: gdk.NewColor("#111144"),
mcmap.BlkTorch: gdk.NewColor("#ffcc00"),
mcmap.BlkFire: gdk.NewColor("#ffcc00"),
mcmap.BlkMonsterSpawner: gdk.NewColor("#344e6a"),
mcmap.BlkOakWoodStairs: gdk.NewColor("#a4721c"),
mcmap.BlkChest: gdk.NewColor("#a4721c"),
mcmap.BlkRedstoneWire: gdk.NewColor("#ff0000"),
mcmap.BlkDiamondOre: gdk.NewColor("#00fff6"),
mcmap.BlkBlockOfDiamond: gdk.NewColor("#00fff6"),
mcmap.BlkCraftingTable: gdk.NewColor("#a4721c"),
mcmap.BlkWheat: gdk.NewColor("#e7ae00"),
mcmap.BlkFarmland: gdk.NewColor("#644804"),
mcmap.BlkFurnace: gdk.NewColor("#7a7a7a"),
mcmap.BlkBurningFurnace: gdk.NewColor("#7a7a7a"),
mcmap.BlkSignPost: gdk.NewColor("#a4721c"),
mcmap.BlkWoodenDoor: gdk.NewColor("#a4721c"),
mcmap.BlkLadders: gdk.NewColor("#a4721c"),
mcmap.BlkRail: gdk.NewColor("#dbdbdb"),
mcmap.BlkCobblestoneStairs: gdk.NewColor("#7a7a7a"),
mcmap.BlkWallSign: gdk.NewColor("#a4721c"),
mcmap.BlkLever: gdk.NewColor("#a4721c"),
mcmap.BlkStonePressurePlate: gdk.NewColor("#666666"),
mcmap.BlkIronDoor: gdk.NewColor("#e1e1e1"),
mcmap.BlkWoodenPressurePlate: gdk.NewColor("#a4721c"),
mcmap.BlkRedstoneOre: gdk.NewColor("#a00000"),
mcmap.BlkGlowingRedstoneOre: gdk.NewColor("#ff0000"),
mcmap.BlkRedstoneTorchInactive: gdk.NewColor("#ff0000"),
mcmap.BlkRedstoneTorchActive: gdk.NewColor("#ff0000"),
mcmap.BlkStoneButton: gdk.NewColor("#666666"),
mcmap.BlkSnow: gdk.NewColor("#e5fffe"),
mcmap.BlkIce: gdk.NewColor("#9fdcff"),
mcmap.BlkSnowBlock: gdk.NewColor("#e5fffe"),
mcmap.BlkCactus: gdk.NewColor("#01bc3a"),
mcmap.BlkClay: gdk.NewColor("#767a82"),
mcmap.BlkSugarCane: gdk.NewColor("#12db50"),
mcmap.BlkJukebox: gdk.NewColor("#a4721c"),
mcmap.BlkFence: gdk.NewColor("#a4721c"),
mcmap.BlkPumpkin: gdk.NewColor("#ff7000"),
mcmap.BlkNetherrack: gdk.NewColor("#851c2d"),
mcmap.BlkSoulSand: gdk.NewColor("#796a59"),
mcmap.BlkGlowstone: gdk.NewColor("#ffff00"),
mcmap.BlkNetherPortal: gdk.NewColor("#ff00ff"),
mcmap.BlkJackOLantern: gdk.NewColor("#ff7000"),
mcmap.BlkRedstoneRepeaterInactive: gdk.NewColor("#ff0000"),
mcmap.BlkRedstoneRepeaterActive: gdk.NewColor("#ff0000"),
mcmap.BlkTrapdoor: gdk.NewColor("#a4721c"),
mcmap.BlkStoneBricks: gdk.NewColor("#666666"),
mcmap.BlkHugeBrownMushroom: gdk.NewColor("#b07859"),
mcmap.BlkHugeRedMushroom: gdk.NewColor("#dd0000"),
mcmap.BlkIronBars: gdk.NewColor("#e1e1e1"),
mcmap.BlkGlassPane: gdk.NewColor("#eeeeff"),
mcmap.BlkMelon: gdk.NewColor("#9ac615"),
mcmap.BlkVines: gdk.NewColor("#50720d"),
mcmap.BlkFenceGate: gdk.NewColor("#a4721c"),
mcmap.BlkBrickStairs: gdk.NewColor("#c42500"),
mcmap.BlkStoneBrickStairs: gdk.NewColor("#666666"),
mcmap.BlkMycelium: gdk.NewColor("#7c668c"),
mcmap.BlkLilyPad: gdk.NewColor("#50720d"),
mcmap.BlkNetherBrick: gdk.NewColor("#c42500"),
mcmap.BlkNetherBrickFence: gdk.NewColor("#c42500"),
mcmap.BlkNetherBrickStairs: gdk.NewColor("#c42500"),
mcmap.BlkEnchantmentTable: gdk.NewColor("#222244"),
mcmap.BlkBrewingStand: gdk.NewColor("#666666"),
mcmap.BlkCauldron: gdk.NewColor("#666666"),
mcmap.BlkEndPortal: gdk.NewColor("#000000"),
mcmap.BlkEndPortalBlock: gdk.NewColor("#e0dbce"),
mcmap.BlkEndStone: gdk.NewColor("#e0dbce"),
mcmap.BlkRedstoneLampInactive: gdk.NewColor("#ffff00"),
mcmap.BlkRedstoneLampActive: gdk.NewColor("#ffff00"),
mcmap.BlkSandstoneStairs: gdk.NewColor("#f1ee85"),
mcmap.BlkEmeraldOre: gdk.NewColor("#00c140"),
mcmap.BlkEnderChest: gdk.NewColor("#222244"),
mcmap.BlkBlockOfEmerald: gdk.NewColor("#00c140"),
mcmap.BlkSpruceWoodStairs: gdk.NewColor("#a4721c"),
mcmap.BlkBirchWoodStairs: gdk.NewColor("#a4721c"),
mcmap.BlkJungleWoodStairs: gdk.NewColor("#a4721c"),
mcmap.BlkCommandBlock: gdk.NewColor("#e8ec78"),
mcmap.BlkBeacon: gdk.NewColor("#00fff6"),
mcmap.BlkCobblestoneWall: gdk.NewColor("#7a7a7a"),
mcmap.BlkCarrots: gdk.NewColor("#ff6000"),
mcmap.BlkPotatoes: gdk.NewColor("#c6cd0c"),
mcmap.BlkWoodenButton: gdk.NewColor("#a4721c"),
mcmap.BlkAnvil: gdk.NewColor("#444444"),
mcmap.BlkTrappedChest: gdk.NewColor("#a4721c"),
mcmap.BlkRedstoneComparatorInactive: gdk.NewColor("#ff0000"),
mcmap.BlkRedstoneComparatorActive: gdk.NewColor("#ff0000"),
mcmap.BlkBlockOfRedstone: gdk.NewColor("#ff0000"),
mcmap.BlkNetherQuartzOre: gdk.NewColor("#e7e7e7"),
mcmap.BlkHopper: gdk.NewColor("#444444"),
mcmap.BlkBlockOfQuartz: gdk.NewColor("#e7e7e7"),
mcmap.BlkQuartzStairs: gdk.NewColor("#e7e7e7"),
mcmap.BlkActivatorRail: gdk.NewColor("#ff0000"),
mcmap.BlkDropper: gdk.NewColor("#444444"),
mcmap.BlkStainedClay: gdk.NewColor("#767a82"),
mcmap.BlkHayBlock: gdk.NewColor("#e7ae00"),
mcmap.BlkCarpet: gdk.NewColor("#ffffff"),
mcmap.BlkHardenedClay: gdk.NewColor("#767a82"),
mcmap.BlkBlockOfCoal: gdk.NewColor("#333333"),
}
|