Update mappings + dependencies
This commit is contained in:
parent
1426e49164
commit
83f0eefa15
147 changed files with 224 additions and 223 deletions
|
@ -32,7 +32,7 @@ public class BlockDimensionalPortal extends BlockInteger {
|
|||
|
||||
public BlockDimensionalPortal() {
|
||||
super(Material.PORTAL, 2);
|
||||
setUnlocalizedName(BloodMagic.MODID + ".dimensionalPortal");
|
||||
setTranslationKey(BloodMagic.MODID + ".dimensionalPortal");
|
||||
setBlockUnbreakable();
|
||||
setResistance(2000);
|
||||
setLightOpacity(0);
|
||||
|
@ -72,7 +72,7 @@ public class BlockDimensionalPortal extends BlockInteger {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void onEntityCollidedWithBlock(World world, BlockPos pos, IBlockState blockState, Entity entity) {
|
||||
public void onEntityCollision(World world, BlockPos pos, IBlockState blockState, Entity entity) {
|
||||
if (!world.isRemote && world.getTileEntity(pos) instanceof TileDimensionalPortal) {
|
||||
TileDimensionalPortal tile = (TileDimensionalPortal) world.getTileEntity(pos);
|
||||
|
||||
|
@ -129,7 +129,7 @@ public class BlockDimensionalPortal extends BlockInteger {
|
|||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public BlockRenderLayer getBlockLayer() {
|
||||
public BlockRenderLayer getRenderLayer() {
|
||||
return BlockRenderLayer.TRANSLUCENT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue