satoshinm / WebSandboxMC

Bukkit plugin providing a web-based interface with an interactive WebGL 3D preview or glimpse of your server 🕷⏳📦 ⛺
https://www.spigotmc.org/resources/websandboxmc.39415/
MIT License
19 stars 5 forks source link

Translate wool variants to Craft's colored blocks #9

Closed satoshinm closed 7 years ago

satoshinm commented 7 years ago

Craft has 32 color blocks: https://github.com/fogleman/Craft/commit/2af44739a766316f858a6c505f695eeba12992f4 - these should be bridged to/from MC's 16 wool variations

satoshinm commented 7 years ago

The colors are in textures/texture.png:

screen shot 2017-04-13 at 12 05 40 am
satoshinm commented 7 years ago
 +#define COLOR_00 32 // yellow
 +#define COLOR_01 33 // light green
 +#define COLOR_02 34 // green
 +#define COLOR_03 35 // sea green
 +#define COLOR_04 36 // light brown
 +#define COLOR_05 37 // medium brown
 +#define COLOR_06 38 // dark brown
 +#define COLOR_07 39 // purple
 +#define COLOR_08 40 // dark gray
 +#define COLOR_09 41 // darker gray
 +#define COLOR_10 42 // light purple
 +#define COLOR_11 43 // crimson
 +#define COLOR_12 44 // salmon
 +#define COLOR_13 45 // pink
 +#define COLOR_14 46 // puke green
 +#define COLOR_15 47 // poop brown
 +#define COLOR_16 48 // black
 +#define COLOR_17 49 // dark gray
 +#define COLOR_18 50 // medium gray
 +#define COLOR_19 51 // leather
 +#define COLOR_20 52 // tan
 +#define COLOR_21 53 // orange
 +#define COLOR_22 54 // light orange
 +#define COLOR_23 55 // sand
 +#define COLOR_24 56 // aqua
 +#define COLOR_25 57 // blue
 +#define COLOR_26 58 // light blue
 +#define COLOR_27 59 // foam green
 +#define COLOR_28 60 // cloud
 +#define COLOR_29 61 // white
 +#define COLOR_30 62 // offwhite
 +#define COLOR_31 63 // gray