Fix Sigil of the Phantom Bridge

I'm tentatively considering this fixed. I'd rather not do it this way, but it seems to work...
This commit is contained in:
Nick 2016-01-11 13:36:07 -08:00
parent 0d70eb359e
commit 9950b32d53
3 changed files with 39 additions and 29 deletions

View file

@ -1,5 +1,6 @@
package WayofTime.bloodmagic.block;
import WayofTime.bloodmagic.BloodMagic;
import WayofTime.bloodmagic.api.Constants;
import WayofTime.bloodmagic.tile.TilePhantomBlock;
import net.minecraft.block.Block;
@ -24,6 +25,7 @@ public class BlockPhantom extends BlockContainer
super(Material.cloth);
setUnlocalizedName(Constants.Mod.MODID + ".phantom");
setCreativeTab(BloodMagic.tabBloodMagic);
}
@Override
@ -45,6 +47,12 @@ public class BlockPhantom extends BlockContainer
return true;
}
@Override
public int getRenderType()
{
return 3;
}
@Override
@SideOnly(Side.CLIENT)
public EnumWorldBlockLayer getBlockLayer()
@ -76,6 +84,6 @@ public class BlockPhantom extends BlockContainer
@Override
public TileEntity createNewTileEntity(World world, int meta)
{
return new TilePhantomBlock();
return new TilePhantomBlock(100);
}
}