Update to new forge and mappings
This commit is contained in:
parent
c02269f4d6
commit
3367e990be
26 changed files with 101 additions and 101 deletions
|
@ -73,7 +73,7 @@ public class BlockPlayerDetector extends BaseTileBlock implements IBlockTextureP
|
|||
}
|
||||
|
||||
@Override
|
||||
public int isProvidingWeakPower(IBlockAccess blockAccess, BlockPos pos, IBlockState state, EnumFacing side) {
|
||||
public int getWeakPower(IBlockAccess blockAccess, BlockPos pos, IBlockState state, EnumFacing side) {
|
||||
TileEntity entity = blockAccess.getTileEntity(pos);
|
||||
if (entity instanceof TilePlayerDectector) {
|
||||
return ((TilePlayerDectector) entity).isProvidingPower() ? 15 : 0;
|
||||
|
@ -82,7 +82,7 @@ public class BlockPlayerDetector extends BaseTileBlock implements IBlockTextureP
|
|||
}
|
||||
|
||||
@Override
|
||||
public int isProvidingStrongPower(IBlockAccess blockAccess, BlockPos pos, IBlockState state, EnumFacing side) {
|
||||
public int getStrongPower(IBlockAccess blockAccess, BlockPos pos, IBlockState state, EnumFacing side) {
|
||||
TileEntity entity = blockAccess.getTileEntity(pos);
|
||||
if (entity instanceof TilePlayerDectector) {
|
||||
return ((TilePlayerDectector) entity).isProvidingPower() ? 15 : 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue