render block pixels
Gjum opened this issue · 1 comments
Gjum commented
- use block colors from journeymap's exported table (see comment below)
- biome tint
- water transparency
- slope shading
wip code: https://github.com/CivPlatform/map-sync/blob/master/render/src/coloring/terrain.rs#L12
Gjum commented
journeymap exports a js(on) file:
{
"table": {
"minecraft": {
"acacia_button": {
"EnumProperty{name=face, clazz=class net.minecraft.world.level.block.state.properties.AttachFace, values=[FLOOR, WALL, CEILING]},DirectionProperty{name=facing, clazz=class net.minecraft.core.Direction, values=[north, south, west, east]},BooleanProperty{name=powered, clazz=class java.lang.Boolean, values=[true, false]}": [
"#a85a32"
]
},
"acacia_door": {
"DirectionProperty{name=facing, clazz=class net.minecraft.core.Direction, values=[north, south, west, east]},EnumProperty{name=half, clazz=class net.minecraft.world.level.block.state.properties.DoubleBlockHalf, values=[upper, lower]},EnumProperty{name=hinge, clazz=class net.minecraft.world.level.block.state.properties.DoorHingeSide, values=[left, right]},BooleanProperty{name=open, clazz=class java.lang.Boolean, values=[true, false]},BooleanProperty{name=powered, clazz=class java.lang.Boolean, values=[true, false]}": [
"#a75f3c"
]
}
}
}
}