Some minor cleanup
* Hid Dimensional Portal from JEI and Creative * Fixed stacktrace spam when invalid portal was stepped into * Fixed tank rendering no model at all * Fixed NBT saving for Dimensional Portal
This commit is contained in:
parent
5c5cda1917
commit
45710ebb8f
5 changed files with 11 additions and 4 deletions
|
@ -44,6 +44,11 @@ public class BlockBloodTank extends BlockContainer
|
|||
return new TileBloodTank();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRenderType() {
|
||||
return 3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onBlockActivated(World world, BlockPos blockPos, IBlockState blockState, EntityPlayer player, EnumFacing side, float hitX, float hitY, float hitZ)
|
||||
{
|
||||
|
|
|
@ -33,7 +33,6 @@ public class BlockDimensionalPortal extends BlockIntegerContainer
|
|||
super(Material.portal, 2);
|
||||
setUnlocalizedName(Constants.Mod.MODID + ".dimensionalPortal");
|
||||
setRegistryName(Constants.BloodMagicBlock.DIMENSIONAL_PORTAL.getRegName());
|
||||
setCreativeTab(BloodMagic.tabBloodMagic);
|
||||
setBlockUnbreakable();
|
||||
setResistance(2000);
|
||||
setLightOpacity(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue