"Is block ladder?" option for blocks

Status
Fixed
Issue description

If this option is checked, the block behaves like ladders and vines (mobs can climb this block provided it's not full and they're colliding with a solid wall)

The required code (at least for 1.12.2) is:

@Override
public boolean isLadder(IBlockState state, IBlockAccess world, BlockPos pos, EntityLivingBase entity) {
	return true;
}

 

Issue comments

Code is the same for 1.14.4, except "IBlockAccess" is replaced with "IWorldReader"

You could also add "Is block web" so it would be passable and make the player fall down slowly and you should also add "Set the player's fall speed to 'X' number"

You could also add "Is block web" so it would be passable and make the player fall down slowly and you should also add "Set the player's fall speed to 'X' number"

This is doable by procedures