mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 23:45:57 +00:00
Fix #2365
This commit is contained in:
1 parent
fc37455de6
commit
8f09bc403d
26 files changed
+188
No files matched your search
@@ -13,6 +13,7 @@ package vazkii.botania.common.block.mana;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.SoundType;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.BlockFaceShape;
|
||||
import net.minecraft.block.state.BlockStateContainer;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
@@ -182,4 +183,10 @@ public class BlockPrism extends BlockMod implements IManaTrigger, ILexiconable,
|
||||
public boolean isGhost(IBlockState state, World world, BlockPos pos) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public BlockFaceShape getBlockFaceShape(IBlockAccess world, IBlockState state, BlockPos pos, EnumFacing side) {
|
||||
return side.getAxis() == EnumFacing.Axis.Y ? BlockFaceShape.CENTER_BIG : BlockFaceShape.MIDDLE_POLE_THICK;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user