mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Patch work, most of block classes, and fix eclipse run configs.
This commit is contained in:
1 parent
763b3e806e
commit
7c0d94ce9c
51 files changed
+1865
-276
No files matched your search
@@ -123,7 +123,7 @@ public class BlockInfo
|
||||
{
|
||||
BlockPos pos = blockPos.add(x - 1, y - 1, z - 1);
|
||||
IBlockState state = world.getBlockState(pos);
|
||||
t[x][y][z] = state.getLightOpacity(world, pos) < 15;
|
||||
t[x][y][z] = state.getOpacity(world, pos) < 15;
|
||||
int brightness = state.getPackedLightmapCoords(world, pos);
|
||||
s[x][y][z] = (brightness >> 0x14) & 0xF;
|
||||
b[x][y][z] = (brightness >> 0x04) & 0xF;
|
||||
|
||||
Reference in new issue
Block a user