Fixed "see through world" syndrome for most blocks

This commit is contained in:
WayofTime 2016-03-22 09:31:47 -04:00
parent d8c5d75381
commit 95b10f35c8
12 changed files with 63 additions and 4 deletions

View file

@ -1,5 +1,5 @@
#
#Sat Mar 19 08:23:11 EDT 2016
#Mon Mar 21 18:42:09 EDT 2016
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
@ -288,10 +288,10 @@ org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
eclipse.preferences.version=1
org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=next_line
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
eclipse.preferences.version=1
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16

View file

@ -1,3 +1,8 @@
------------------------------------------------------
Version 2.0.0-23
------------------------------------------------------
- Fixed "see through world" syndrome for most blocks
------------------------------------------------------
Version 2.0.0-22
------------------------------------------------------

View file

@ -76,6 +76,12 @@ public class BlockAlchemyArray extends BlockContainer
return false;
}
@Override
public boolean isOpaqueCube(IBlockState state)
{
return false;
}
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{

View file

@ -100,6 +100,12 @@ public class BlockAltar extends BlockContainer implements IVariantProvider
return false;
}
@Override
public boolean isOpaqueCube(IBlockState state)
{
return false;
}
@Override
public boolean isFullCube(IBlockState state)
{

View file

@ -50,7 +50,7 @@ public class BlockDemonCrucible extends BlockContainer implements IVariantProvid
}
@Override
public boolean isFullCube(IBlockState state)
public boolean isOpaqueCube(IBlockState state)
{
return false;
}

View file

@ -96,6 +96,12 @@ public class BlockDemonCrystal extends BlockContainer
return false;
}
@Override
public boolean isOpaqueCube(IBlockState state)
{
return false;
}
@Override
public boolean isFullCube(IBlockState state)
{

View file

@ -43,6 +43,12 @@ public class BlockDemonCrystallizer extends BlockContainer implements IVariantPr
return side == EnumFacing.UP;
}
@Override
public boolean isOpaqueCube(IBlockState state)
{
return false;
}
@Override
public boolean isNormalCube(IBlockState state, IBlockAccess world, BlockPos pos)
{

View file

@ -42,6 +42,12 @@ public class BlockDemonPylon extends BlockContainer implements IVariantProvider
return false;
}
@Override
public boolean isOpaqueCube(IBlockState state)
{
return false;
}
@Override
public boolean isFullCube(IBlockState state)
{

View file

@ -43,6 +43,12 @@ public class BlockIncenseAltar extends BlockContainer implements IVariantProvide
return AABB;
}
@Override
public boolean isOpaqueCube(IBlockState state)
{
return false;
}
@Override
public boolean isNormalCube(IBlockState state, IBlockAccess world, BlockPos pos)
{

View file

@ -32,6 +32,12 @@ public class BlockPedestal extends BlockStringContainer
setResistance(5.0F);
}
@Override
public boolean isOpaqueCube(IBlockState state)
{
return false;
}
@Override
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ)
{

View file

@ -42,6 +42,12 @@ public abstract class BlockRoutingNode extends BlockContainer
return AABB;
}
@Override
public boolean isOpaqueCube(IBlockState state)
{
return false;
}
@Override
public boolean isNormalCube(IBlockState state, IBlockAccess world, BlockPos pos)
{

View file

@ -43,6 +43,12 @@ public class BlockSoulForge extends BlockContainer implements IVariantProvider
setCreativeTab(BloodMagic.tabBloodMagic);
}
@Override
public boolean isOpaqueCube(IBlockState state)
{
return false;
}
@Override
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos)
{