Fixing cloud rendering.

This commit is contained in:
Amnet 2013-05-11 09:48:02 +02:00
parent f8220b057e
commit 1f02cdf425

View file

@ -1,17 +1,12 @@
package biomesoplenty.blocks;
import biomesoplenty.BiomesOPlenty;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import biomesoplenty.BiomesOPlenty;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class BlockCloud extends Block
{
@ -37,6 +32,11 @@ public class BlockCloud extends Block
{
return 1;
}
public boolean isOpaqueCube()
{
return false;
}
@Override
@SideOnly(Side.CLIENT)
@ -47,6 +47,6 @@ public class BlockCloud extends Block
*/
public boolean shouldSideBeRendered(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
{
return super.shouldSideBeRendered(par1IBlockAccess, par2, par3, par4, 1 - par5);
return true;//super.shouldSideBeRendered(par1IBlockAccess, par2, par3, par4, 1 - par5);
}
}