mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-24 22:04:34 +00:00
Add camouflage system, add greenhouse door and clean up
This commit is contained in:
1 parent
7238886d00
commit
bde92c4afc
158 files changed
+1476
-491
No files matched your search
@@ -127,7 +127,7 @@ public class BlockMushroom extends BlockBush implements IItemTyped, IItemModelRe
|
||||
if (maturity != 3) {
|
||||
maturity = 3;
|
||||
int matX = maturity << 2;
|
||||
int meta = (matX | type.ordinal());
|
||||
int meta = matX | type.ordinal();
|
||||
world.setBlockState(new BlockPos(i, j, k), world.getBlockState(new BlockPos(i, j, k)).getBlock().getStateFromMeta(meta), Constants.FLAG_BLOCK_SYNCH);
|
||||
} else if (lightvalue <= 7) {
|
||||
generateTree(world, new BlockPos(i, j, k), world.getBlockState(new BlockPos(i, j, k)), random);
|
||||
|
||||
Reference in new issue
Block a user