I have a problem with my blocks, I can see the cave. I think it's because the game detects my blocks as opaque blocks.
I have read a tutorial and a post:
http://greyminecraftcoder.blogspot.com/2013/07/rendering-transparent-blocks.html
here is the class code that instantiates the blocks:
package fr.chtibizoux.woodcraft.init.blocks;
import fr.chtibizoux.woodcraft.init.ModBlocks;
import net.minecraft.block.Block;
import net.minecraft.item.BlockItem;
import net.minecraft.item.Item;
public class BlockWoodCraft extends Block {
public BlockWoodCraft(String name,Properties properties) {
super(properties);
setRegistryName(name);
ModBlocks.blocks.add(this);
ModBlocks.blockItems.add((BlockItem) new BlockItem(this, new Item.Properties()).setRegistryName(getRegistryName()));
}
public boolean isOpaqueCube() {
return false;
}
}