Potential fix for routing nodes (I changed nothing, but it now works). Fixed blocks that are solid that did not block sunlight.

This commit is contained in:
WayofTime 2016-04-12 15:25:16 -04:00
parent 0a2dfb4fd4
commit 8571d4d264
8 changed files with 155 additions and 12 deletions

View file

@ -11,7 +11,6 @@ import net.minecraft.block.state.BlockStateContainer;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.BlockPos;
@ -86,12 +85,6 @@ public class BlockString extends Block
return this.realBlockState;
}
@Override
public BlockStateContainer createBlockState()
{
return Blocks.air.getBlockState();
}
@Override
public ItemStack getPickBlock(IBlockState state, RayTraceResult target, World world, BlockPos pos, EntityPlayer player)
{