- Fixed lighting for anvils.
- Added vertical orientations for dispensers and droppers - Added special cases of stone and sandstone double slabs
This commit is contained in:
@@ -158,8 +158,9 @@ get_lighting_color(RenderPrimitiveLighting *self, RenderState *state,
|
||||
blocklevel = get_data(state, BLOCKLIGHT, x, y, z);
|
||||
|
||||
/* special half-step handling, stairs handling */
|
||||
/* Anvil also needs to be here, blockid 145 */
|
||||
if (block == 44 || block == 53 || block == 67 || block == 108 || block == 109 || block == 114 ||
|
||||
block == 128 || block == 134 || block == 135 || block == 136 || block == 156) {
|
||||
block == 128 || block == 134 || block == 135 || block == 136 || block == 145 || block == 156) {
|
||||
unsigned int upper_block;
|
||||
|
||||
/* stairs and half-blocks take the skylevel from the upper block if it's transparent */
|
||||
|
||||
Reference in New Issue
Block a user