Managlass, Alfglass and Bifrost Blocks are now valid targets for Chisels&Bits. Closes #1890

This commit is contained in:
Vasco Lavos committed 2016-09-22 17:51:48 +01:00
1 parent a3408e1d2c
commit 587738ab7b
3 files changed
+16

No files matched your search

@@ -46,6 +46,11 @@ public class BlockBifrostPerm extends BlockMod implements ILexiconable {
public boolean isOpaqueCube(IBlockState state) {
return false;
}
@Override
public boolean isFullBlock(IBlockState state) {
return true;
}
@Override
public boolean shouldSideBeRendered(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos, EnumFacing side) {
@@ -10,6 +10,7 @@
*/
package vazkii.botania.common.block.decor;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.BlockPos;
@@ -30,6 +31,11 @@ public class BlockElfGlass extends BlockManaGlass implements IElvenItem, ILexico
public boolean isElvenItem(ItemStack stack) {
return true;
}
@Override
public boolean isFullBlock(IBlockState state) {
return true;
}
@Override
public LexiconEntry getEntry(World world, BlockPos pos, EntityPlayer player, ItemStack lexicon) {
@@ -49,6 +49,11 @@ public class BlockManaGlass extends BlockMod implements ILexiconable {
return false;
}
@Override
public boolean isFullBlock(IBlockState state) {
return true;
}
@SideOnly(Side.CLIENT)
@Override
public boolean shouldSideBeRendered(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos, EnumFacing side) {