Updated mappings

This commit is contained in:
alesto
2018-11-22 16:02:40 +01:00
parent 5737109dec
commit 151dcc06da
14 changed files with 30 additions and 20 deletions
@@ -51,7 +51,7 @@ public class BlockSnare extends BlockContainer {
}
@Override
public void onEntityCollidedWithBlock(World world, BlockPos pos, IBlockState state, Entity entity){
public void onEntityCollision(World world, BlockPos pos, IBlockState state, Entity entity){
if(!world.isRemote && entity instanceof EntityLivingBase){
if(world.getTileEntity(pos) instanceof TileEntityPlayerSave){
@@ -80,7 +80,7 @@ public class BlockSnare extends BlockContainer {
}
@Override
public BlockRenderLayer getBlockLayer(){
public BlockRenderLayer getRenderLayer() {
return BlockRenderLayer.CUTOUT;
}
@@ -36,7 +36,7 @@ public class BlockSpectral extends BlockContainer {
// Replaces getRenderBlockPass
@Override
public BlockRenderLayer getBlockLayer(){
public BlockRenderLayer getRenderLayer(){
return BlockRenderLayer.TRANSLUCENT;
}
@@ -97,7 +97,7 @@ public class BlockStatue extends BlockContainer {
}
@Override
public BlockRenderLayer getBlockLayer(){
public BlockRenderLayer getRenderLayer(){
return this.isIce ? BlockRenderLayer.TRANSLUCENT : BlockRenderLayer.SOLID;
}
@@ -55,7 +55,7 @@ public class BlockVanishingCobweb extends BlockContainer {
}
@Override
public void onEntityCollidedWithBlock(World world, BlockPos pos, IBlockState state, Entity entity){
public void onEntityCollision(World world, BlockPos pos, IBlockState state, Entity entity){
entity.setInWeb();
}