diff options
author | makamys <makamys@outlook.com> | 2021-05-09 09:54:29 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2021-05-10 08:53:49 +0200 |
commit | 52963ad99fd0c2a6891a0e6d580b3829ed6b8c1f (patch) | |
tree | 5ef534aa991302c691f51c51ecf38607ee517a21 /src/main/java/makamys/lodmod | |
parent | 8cdfb8a318fcaa73ff15852f513224278c15d880 (diff) | |
download | Neodymium-52963ad99fd0c2a6891a0e6d580b3829ed6b8c1f.tar.gz Neodymium-52963ad99fd0c2a6891a0e6d580b3829ed6b8c1f.tar.bz2 Neodymium-52963ad99fd0c2a6891a0e6d580b3829ed6b8c1f.zip |
Make simple chunk meshes less dark
Diffstat (limited to 'src/main/java/makamys/lodmod')
-rw-r--r-- | src/main/java/makamys/lodmod/renderer/SimpleChunkMesh.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/SimpleChunkMesh.java b/src/main/java/makamys/lodmod/renderer/SimpleChunkMesh.java index bbe68cb..d65bd64 100644 --- a/src/main/java/makamys/lodmod/renderer/SimpleChunkMesh.java +++ b/src/main/java/makamys/lodmod/renderer/SimpleChunkMesh.java @@ -24,6 +24,7 @@ import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.entity.Entity; +import net.minecraft.init.Blocks; import net.minecraft.nbt.NBTTagString; import net.minecraft.util.IIcon; import net.minecraft.world.biome.BiomeGenBase; @@ -133,28 +134,28 @@ public class SimpleChunkMesh extends Mesh { x + 0, y + 0, z + 0, x + sizeX, y + 0, z + 0, x + sizeX, y - sizeY, z + 0, - icon, color, 180 + icon, color, 200 ); addFace( x + sizeX, y - sizeY, z + sizeZ, x + sizeX, y + 0, z + sizeZ, x + 0, y + 0, z + sizeZ, x + 0, y - sizeY, z + sizeZ, - icon, color, 180 + icon, color, 200 ); addFace( x + sizeX, y - sizeY, z + 0, x + sizeX, y + 0, z + 0, x + sizeX, y + 0, z + sizeZ, x + sizeX, y - sizeY, z + sizeZ, - icon, color, 120 + icon, color, 160 ); addFace( x + 0, y - sizeY, z + sizeZ, x + 0, y + 0, z + sizeZ, x + 0, y + 0, z + 0, x + 0, y - sizeY, z + 0, - icon, color, 120 + icon, color, 160 ); } |